:root {
  --xs-blue: #0b63ff;
  --xs-blue-dark: #0047bb;
  --xs-dark: #151b23;
  --xs-muted: #667085;
  --xs-light: #f4f7fb;
  --xs-border: #e6ecf5;
  --xs-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--xs-dark);
  background: #fff;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: grid;
  place-items: center;
  transition: opacity .5s ease, visibility .5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  width: 220px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--xs-shadow);
  text-align: center;
}

.loader-logo {
  width: 170px;
  margin-bottom: 20px;
}

.loader-line {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--xs-blue), transparent);
  animation: loaderMove 1.1s ease-in-out infinite;
}

@keyframes loaderMove {
  0% { transform: translateX(-30px); opacity: .35; }
  50% { transform: translateX(30px); opacity: 1; }
  100% { transform: translateX(-30px); opacity: .35; }
}

.fw-black {
  font-weight: 900;
  letter-spacing: -0.05em;
}

.btn {
  border-radius: 14px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--xs-blue), var(--xs-blue-dark));
  border-color: var(--xs-blue);
  box-shadow: 0 14px 26px rgba(11, 99, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 99, 255, 0.3);
}

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

.glass-navbar {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 236, 245, 0.8);
  transition: all .3s ease;
}

.glass-navbar.navbar-scrolled {
  padding: 10px 0;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.navbar .nav-link {
  color: var(--xs-dark);
  font-weight: 750;
  border-radius: 12px;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--xs-blue);
}

.navbar .nav-link.btn:hover,
.navbar .nav-link.btn.active {
  color: #fff;
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.hero-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(11, 99, 255, .12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero-badge {
  color: var(--xs-blue-dark);
  background: rgba(11, 99, 255, .10);
  border: 1px solid rgba(11, 99, 255, .14);
  font-weight: 800;
  padding: 12px 18px;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  animation: glowMove 8s ease-in-out infinite alternate;
}

.hero-glow-1 {
  background: rgba(11, 99, 255, .28);
  top: 10%;
  left: -10%;
}

.hero-glow-2 {
  background: rgba(21, 27, 35, .14);
  right: -6%;
  bottom: 8%;
  animation-delay: 1.5s;
}

@keyframes glowMove {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -30px, 0) scale(1.12); }
}

.hero-image-wrap {
  border-radius: 34px;
  padding: 16px;
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--xs-shadow);
}

.float-animation {
  animation: floatY 5s ease-in-out infinite;
}

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

.pulse-btn {
  position: relative;
  overflow: hidden;
}

.pulse-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.25);
  transform: translateX(-110%) skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 60% { transform: translateX(-110%) skewX(-20deg); }
  100% { transform: translateX(120%) skewX(-20deg); }
}

.hero-numbers strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--xs-blue);
  letter-spacing: -0.04em;
}

.hero-numbers span {
  color: var(--xs-muted);
  font-weight: 700;
}

.section-padding {
  padding: 105px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--xs-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 14px;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: var(--xs-blue);
}

.section-title {
  font-weight: 900;
  letter-spacing: -0.045em;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.system-card {
  border: 1px solid var(--xs-border);
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.system-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
  border-color: rgba(11, 99, 255, .24);
}


.system-card .card-blank-top {
  height: 132px;
  background: #fff;
}

.system-card .card-img-top {
  height: 205px;
  object-fit: cover;
  padding: 18px;
  background: #f8fbff;
}

.system-card .card-body {
  padding: 28px;
}

.icon-pill {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--xs-blue), var(--xs-blue-dark));
  font-size: 1.4rem;
  margin-top: -54px;
  margin-bottom: 18px;
  box-shadow: 0 14px 26px rgba(11, 99, 255, .24);
}

.system-card h3,
.feature-card h3,
.process-card h3 {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.system-card p,
.system-card li,
.feature-card p,
.process-card p {
  color: var(--xs-muted);
}

.system-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.system-card li {
  margin-bottom: 8px;
}

.feature-section {
  background:
    linear-gradient(135deg, rgba(21,27,35,.94), rgba(9,20,36,.96)),
    radial-gradient(circle at 20% 20%, rgba(11,99,255,.4), transparent 30%);
  position: relative;
  overflow: hidden;
}

.feature-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  background: rgba(11,99,255,.17);
  filter: blur(30px);
}

.feature-card {
  min-height: 230px;
  position: relative;
  z-index: 1;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  transition: transform .3s ease, background .3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.12);
}

.feature-card i {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(11,99,255,.18);
  color: #58a0ff;
  font-size: 1.5rem;
}

.feature-card h3 {
  color: #fff;
}

.process-card {
  height: 100%;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--xs-border);
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease;
}

.process-card:hover {
  transform: translateY(-8px);
}

.process-card span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(11,99,255,.10);
  color: var(--xs-blue);
  font-weight: 900;
  margin-bottom: 28px;
}

.contact-section {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.contact-links {
  display: grid;
  gap: 14px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--xs-border);
  color: var(--xs-dark);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  transition: transform .3s ease, border-color .3s ease;
}

.contact-links a:hover {
  transform: translateX(6px);
  border-color: rgba(11,99,255,.35);
}

.contact-links i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--xs-blue);
}

.contact-card {
  padding: 34px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--xs-border);
  box-shadow: var(--xs-shadow);
}

.form-label {
  font-weight: 800;
  color: var(--xs-dark);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 15px;
  border-color: var(--xs-border);
  font-weight: 650;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(11,99,255,.55);
  box-shadow: 0 0 0 .25rem rgba(11,99,255,.12);
}

.footer {
  background: var(--xs-dark);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1020;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  text-decoration: none;
  font-size: 1.75rem;
  box-shadow: 0 18px 34px rgba(37,211,102,.34);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
  color: #fff;
  transform: scale(1.06);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 18px 34px rgba(37,211,102,.34); }
  50% { box-shadow: 0 18px 34px rgba(37,211,102,.34), 0 0 0 14px rgba(37,211,102,.12); }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 18px;
  }

  .navbar .nav-link.btn {
    display: inline-block;
    margin-top: 10px;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
    padding-top: 130px !important;
    padding-bottom: 70px;
  }

  .section-padding {
    padding: 76px 0;
  }
}

@media (max-width: 575.98px) {
  .contact-card,
  .feature-card,
  .process-card,
  .system-card .card-body {
    padding: 24px;
  }

  .hero-numbers strong {
    font-size: 1.5rem;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}
