html {
  scroll-behavior: smooth;
}

* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none
}

body.swal2-shown:not(.swal2-no-backdrop) {
  padding-right: 0 !important;
  overflow-y: scroll !important;
}

body.swal2-shown {
  overflow-y: scroll !important;
}

.swal2-container {
  overflow-y: hidden !important;
}

body {
  overflow-y: scroll !important;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .2);
  border-radius: 10px
}

::-webkit-scrollbar-track {
  background: transparent
}

.card-hover {
  transition: all .3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 230, 118, .2)
}

.glow {
  text-shadow: 0 0 8px rgba(0, 230, 118, .6)
}

.gradient-text {
  background: linear-gradient(90deg, #00E676, #00B0FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 118, .5), transparent);
  margin: 1rem auto;
  max-width: 80%
}

.faq-item .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
}

@keyframes blink-glow {
  0%,
  100% {
    opacity: .6;
    filter: blur(8px)
  }
  50% {
    opacity: 1;
    filter: blur(12px)
  }
}

.swal-glass {
  background: rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 40px rgba(0, 0, 0, .45) !important;
  border-radius: 20px !important
}

.swal-title {
  color: #fff !important;
  font-weight: 600 !important
}

.swal-text {
  color: rgba(255, 255, 255, .8) !important
}

.swal-confirm {
  background: linear-gradient(120deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .1)) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .25) !important;
  border-radius: 12px !important;
  padding: 10px 18px !important
}

.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: fadeInUp 0.5s ease-out;
}

.chat-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(0, 230, 118, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border: none;
  color: #00E676;
  font-size: 28px;
  animation: float 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.chat-button:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.4), 0 0 0 3px rgba(0, 230, 118, 0.5);
  color: #00FF88;
}

.chat-modal {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 520px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  backdrop-filter: blur(24px);
  border-radius: 28px;
  border: 1px solid rgba(0, 230, 118, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 230, 118, 0.2);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideInUp 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.chat-modal.active {
  display: flex;
}

.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #0F172A, #0A0F1F);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 230, 118, 0.3);
}

.chat-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #00E676;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-header h3::before {
  content: "●";
  font-size: 10px;
  color: #00E676;
  animation: pulse 1.5s infinite;
}

.chat-header .close-chat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.chat-header .close-chat:hover {
  background: rgba(0, 230, 118, 0.2);
  border-color: rgba(0, 230, 118, 0.5);
  color: #00E676;
  transform: rotate(90deg);
}

.chat-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #0F172A;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 2px #00E676;
  }
  50% {
    opacity: 0.6;
    text-shadow: 0 0 8px #00E676;
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #FF4444, #FF6666);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
  animation: badgePulse 1s infinite;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 2px 12px rgba(255, 68, 68, 0.8);
  }
}

@media (max-width: 480px) {
  .chat-modal {
    width: calc(100vw - 32px);
    right: 16px;
    left: 16px;
    bottom: 80px;
    height: 480px;
    border-radius: 24px;
  }
  .chat-button {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .chat-header {
    padding: 12px 16px;
  }
  .chat-header h3 {
    font-size: 14px;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal-container {
  max-width: 90%;
  width: 500px;
  background: linear-gradient(145deg, #0F172A, #0A0F1F);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 32px;
  padding: 28px 24px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 230, 118, 0.1), 0 0 20px rgba(0, 230, 118, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  margin: auto;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00E676, #00B0FF, #00E676);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: -0.5px;
  animation: gradientShift 3s ease infinite;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: linear-gradient(145deg, #1A1F2E, #13182A);
  border: 1.5px solid #2D3A4E;
  border-radius: 16px;
  padding: 12px 16px;
  color: #F1F5F9;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00E676;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2), inset 0 0 0 1px rgba(0, 230, 118, 0.1);
  background: linear-gradient(145deg, #1E2538, #151C2E);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #475569;
  font-weight: 400;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-confirm {
  background: linear-gradient(135deg, #00E676, #00B0FF);
  width: 100%;
  padding: 14px;
  font-weight: 700;
  color: #0F172A;
  border-radius: 44px;
  margin-top: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-confirm::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 230, 118, 0.4);
}

.btn-confirm:hover::before {
  left: 100%;
}

.btn-confirm:active {
  transform: translateY(1px);
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid #334155;
  color: #94A3B8;
  padding: 10px;
  border-radius: 44px;
  width: 100%;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.btn-close-modal:hover {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.5);
  color: #00E676;
  transform: translateY(-1px);
}

.info-badge {
  font-size: 0.7rem;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 176, 255, 0.1));
  padding: 6px 12px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 16px;
  color: #00E676;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(0, 230, 118, 0.3);
  backdrop-filter: blur(4px);
}

.toast-base {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border-right: 4px solid #00E676;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toast-base:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 230, 118, 0.2);
}

.toast-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  display: block;
}

.toast-title i {
  font-size: 14px;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-right: 10px;
  transition: all 0.2s ease;
}

.toast-title i:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.toast-title i.fa-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.toast-title i.fa-star {
  background: rgba(0, 230, 118, 0.15);
  border-color: rgba(0, 230, 118, 0.3);
  color: #00E676;
}

.toast-title i.fa-crown {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
  color: #FFD700;
}

.toast-title i.fa-rocket {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #A855F7;
}

.toast-desc {
  font-weight: 400;
  font-size: 13px;
  opacity: 0.9;
  display: block;
}

#nprogress {
  pointer-events: none;
  z-index: 99999;
}

#nprogress .bar {
  background: linear-gradient(90deg, #00E676, #00B0FF, #A855F7) !important;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px !important;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
  animation: nprogressGlow 1.2s ease-in-out infinite;
}

@keyframes nprogressGlow {
  0% {
    box-shadow: 0 0 2px #00E676;
  }
  50% {
    box-shadow: 0 0 12px #00E676, 0 0 8px #00B0FF;
  }
  100% {
    box-shadow: 0 0 2px #00E676;
  }
}

#nprogress .peg {
  display: block;
  position: absolute;
  right: 0px;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #00E676, 0 0 5px #00B0FF;
  opacity: 1;
  transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: solid 2px transparent;
  border-top-color: #00E676 !important;
  border-left-color: #00B0FF !important;
  border-radius: 50%;
  animation: nprogress-spinner 400ms linear infinite;
}

@keyframes nprogress-spinner {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
    }