.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #0a140e;
  border: 1px solid #14351a;
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: modalSlideUp 0.25s ease;
}
.modal-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.modal-box .modal-sub {
  font-size: 12px;
  color: #71717a;
  margin: 0 0 20px;
}
.modal-box .modal-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: #d4d4d8;
  margin-bottom: 20px;
}
.modal-box .modal-body p {
  margin: 0 0 10px;
}
.modal-box .modal-body strong {
  color: #fff;
}
.modal-box .modal-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #14351a;
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.modal-box .modal-close:hover {
  background: rgba(0, 230, 118, 0.15);
  color: #fff;
}
.modal-box .modal-close svg {
  width: 16px;
  height: 16px;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-overlay.closing {
  animation: modalFadeOut 0.15s ease forwards;
}
@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

.min-h-screen {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: stretch;
}

a, button, [role="button"] {
  touch-action: manipulation;
}

button, a, input, select, textarea {
  min-height: 44px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
  font-size: 16px !important;
}

* {
  -webkit-overflow-scrolling: touch;
}

.fixed.bottom-0 {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#root > footer,
#root footer {
  display: none !important;
}

body {
  background-color: #040805;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-link {
  color: #a1a1aa;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #00e676 !important;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
