/* ════════════════════════════════════════════════════════════════
   popup.css — Omega Sound Inc. Pre-order modal
   ════════════════════════════════════════════════════════════════ */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: clamp(32px, 5vw, 52px) clamp(28px, 5vw, 48px);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(12px);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.is-visible .popup-card {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.35);
  padding: 4px 6px;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: rgba(0, 0, 0, 0.75);
}

.popup-logo {
  width: clamp(64px, 14vw, 88px);
  margin-bottom: 20px;
}

.popup-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-headline {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  color: #111111;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 28px;
}

.popup-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #111111;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.popup-input::placeholder {
  color: rgba(0, 0, 0, 0.32);
}

.popup-input:focus {
  border-color: rgba(10, 36, 99, 0.45);
  box-shadow: 0 0 0 3px rgba(136, 204, 241, 0.25);
}

.popup-submit {
  width: 100%;
  margin-top: 6px;
  background: #06d5ec;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.popup-submit:hover { opacity: 0.8; }
.popup-submit:disabled { opacity: 0.5; cursor: default; }

.popup-msg {
  min-height: 1.2em;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.75);
  text-align: center;
}
