/* ZingoDeals waitlist page styles */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #0b1220;
  --muted: #6b7280;
  --primary: #5dd8ff;
  --primary-strong: #3cc5f2;
  --accent: #16a34a;
  --danger: #ef4444;
  --focus: #2563eb;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.container {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 24px;
}

.header, .footer { width: 100%; max-width: 880px; }

.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 36px; height: 36px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 10px; color: #08111f; font-weight: 800; }
.site-title { margin: 0; font-size: 1.25rem; letter-spacing: 0.2px; color: var(--text); }

.hero {
  width: 100%;
  max-width: 880px;
  margin: 48px auto;
  background: var(--card);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 40px 28px;
  text-align: center;
}

.hero h2 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem); margin: 0 0 12px; }

.hero-image { display: grid; place-items: center; margin: 10px auto 18px; }
.hero-image img {
  width: min(420px, 90%);
  height: auto;
  border: 0;           /* no border */
  border-radius: 0;    /* no rounded corners */
  box-shadow: none;    /* no shadow */
}

.tagline { color: var(--muted); margin: 0 auto 24px; max-width: 52ch; }

.waitlist { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 560px; margin: 0 auto; }
.waitlist input[type=email] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text);
  outline: none;
}
.waitlist input::placeholder { color: #9ca3af; }
.waitlist button {
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #092136;
  font-weight: 700;
  cursor: pointer;
}
.waitlist button[disabled] { opacity: 0.7; cursor: not-allowed; }
.waitlist button:hover { filter: brightness(1.05); }
.waitlist button:active { transform: translateY(1px); }

.help { margin: 10px auto 0; color: var(--muted); font-size: 0.95rem; }

.message { margin-top: 18px; min-height: 24px; font-weight: 600; }
.message.success { color: var(--accent); }
.message.error { color: var(--danger); }

/* Accessibility and focus */
:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Mobile */
@media (max-width: 560px) {
  .waitlist { grid-template-columns: 1fr; }
  .hero { padding: 28px 18px; }
}
