:root {
  color-scheme: dark;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.upload-zone.dragover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.platform-tab.active {
  background: rgba(56, 189, 248, 0.16);
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.checkbox-ios:checked + .checkbox-box {
  background: #38bdf8;
  border-color: #38bdf8;
}

.checkbox-ios:checked + .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.35s ease-out forwards;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
}

.generating .icon-preview {
  animation: pulse-ring 1.4s ease-in-out infinite;
}

.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.safe-top {
  padding-top: env(safe-area-inset-top, 0);
}

.unlock-pro-btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7dd3fc;
  line-height: 1.25rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.unlock-pro-btn:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
}

.unlock-pro-btn--active {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}
