html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f7faff;
  color: #132238;
}

.glass {
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 24px 80px rgba(15, 46, 92, .12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav-glass {
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(16, 42, 76, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dark-glass {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

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

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

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.mobile-menu.open {
  max-height: 640px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.testimonial-track {
  transition: transform .45s ease;
}

.loader-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.skeleton-loading {
  color: transparent !important;
  position: relative;
}

.skeleton-loading::after {
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(226, 232, 240, .45), rgba(255, 255, 255, .9), rgba(226, 232, 240, .45));
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.form-error {
  color: #ef4444;
  font-size: .78rem;
  margin-top: .45rem;
}

.field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 1);
  background: #fff;
  padding: .9rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: #07111f;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.field:focus {
  border-color: #1d8cff;
  box-shadow: 0 0 0 4px rgba(29, 140, 255, .15);
}

.btn-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}

.btn-loading::after {
  animation: spin .8s linear infinite;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 999px;
  content: "";
  height: 1.2rem;
  left: calc(50% - .6rem);
  position: absolute;
  top: calc(50% - .6rem);
  width: 1.2rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes skeleton-shimmer {
  0% {
    opacity: .45;
    transform: translateX(-8px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .45;
    transform: translateX(8px);
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14px;
  }

  body {
    overflow-x: hidden;
  }

  .text-6xl,
  .text-5xl {
    font-size: 2rem !important;
    line-height: 1.18 !important;
  }

  .text-4xl {
    font-size: 1.65rem !important;
    line-height: 1.22 !important;
  }

  .text-3xl {
    font-size: 1.35rem !important;
    line-height: 1.28 !important;
  }

  .text-2xl {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  .text-xl {
    font-size: 1.02rem !important;
    line-height: 1.4 !important;
  }

  .text-lg {
    font-size: .95rem !important;
    line-height: 1.45 !important;
  }

  .rounded-\[2rem\],
  .rounded-\[2\.2rem\],
  .rounded-\[1\.7rem\],
  .rounded-\[1\.6rem\] {
    border-radius: 1.15rem !important;
  }

  .px-8,
  .px-7,
  .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .py-20,
  .py-24 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .pt-12,
  .pt-16 {
    padding-top: 2rem !important;
  }

  .pb-20,
  .pb-28 {
    padding-bottom: 3rem !important;
  }

  .p-8,
  .p-7,
  .p-6 {
    padding: 1rem !important;
  }

  .gap-12,
  .gap-10,
  .gap-8 {
    gap: 1.5rem !important;
  }

  .mt-12,
  .mt-10,
  .mt-8 {
    margin-top: 1.5rem !important;
  }

  .field {
    border-radius: .85rem;
    font-size: .86rem;
    padding: .78rem .9rem;
  }

  button,
  a {
    min-height: 2.6rem;
  }

  .mobile-menu {
    font-size: .9rem;
  }
}
