/* Motiwaker Network waitlist landing (standalone) */

:root {
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.7);
  --muted2: rgba(255, 255, 255, 0.55);
  --card: rgba(12, 12, 12, 0.86);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  --pill: rgba(0, 0, 0, 0.72);
  --pillBorder: rgba(255, 255, 255, 0.12);
  --live: #23c55e;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background: url("./img/background.gif") center / cover no-repeat;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.03);
}

.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
      900px 420px at 50% 20%,
      rgba(255, 255, 255, 0.08),
      rgba(0, 0, 0, 0)
    ),
    rgba(0, 0, 0, 0.62);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 16px 28px;
  display: grid;
  gap: 16px;
}

.top {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: cover;
  background: rgba(0, 0, 0, 0.3);
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 26px 0 10px;
}

.heroKicker {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.title {
  margin: 10px 0 0;
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.8);
}

.titleLine {
  display: block;
}

.subtitle {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
}

.nowrap {
  white-space: nowrap;
}

.ctaArea {
  margin-top: 22px;
  width: min(560px, 100%);
  position: relative;
}

.ctaGlow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92%;
  height: 140%;
  transform: translate(-50%, -52%);
  filter: blur(26px);
  opacity: 0.72;
  background: radial-gradient(
      180px 80px at 30% 52%,
      rgba(255, 255, 255, 0.12),
      rgba(0, 0, 0, 0)
    ),
    radial-gradient(
      240px 120px at 70% 56%,
      rgba(255, 255, 255, 0.06),
      rgba(0, 0, 0, 0)
    ),
    radial-gradient(
      240px 120px at 50% 50%,
      rgba(255, 255, 255, 0.08),
      rgba(0, 0, 0, 0)
    );
  pointer-events: none;
}

.ctaFrame {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.liveLine {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.liveDot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(35, 197, 94, 0.18);
}

.liveLabel {
  color: rgba(255, 255, 255, 0.62);
}

.liveCount strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
}

.fineprint {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  line-height: 1.4;
}

/* MailerLite embed overrides (best-effort; depends on ML markup) */
.ctaFrame .ml-embedded {
  width: 100%;
}

.ctaFrame .ml-form-embedContainer,
.ctaFrame .ml-form-embedWrapper,
.ctaFrame .ml-form-embedBody {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.ctaFrame input[type="email"],
.ctaFrame input[type="text"] {
  width: 100% !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 14px 16px !important;
  outline: none !important;
}

.ctaFrame input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.ctaFrame button,
.ctaFrame .ml-form-embedSubmit button,
.ctaFrame input[type="submit"] {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: rgba(0, 0, 0, 0.9) !important;
  padding: 12px 16px !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease,
    background-color 180ms ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.ctaFrame button:hover,
.ctaFrame .ml-form-embedSubmit button:hover,
.ctaFrame input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 0 4px rgba(255, 255, 255, 0.06);
}

.ctaFrame button:active,
.ctaFrame .ml-form-embedSubmit button:active,
.ctaFrame input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  filter: brightness(0.98);
}

.ctaFrame button:focus-visible,
.ctaFrame .ml-form-embedSubmit button:focus-visible,
.ctaFrame input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 0 4px rgba(255, 255, 255, 0.1);
}

.ctaFrame label,
.ctaFrame .ml-form-embedContent {
  display: none !important;
}

/* Try to make the ML form inline on desktop */
@media (min-width: 520px) {
  .ctaFrame form {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .ctaFrame .ml-form-formContent,
  .ctaFrame .ml-form-embedWrapper form,
  .ctaFrame .ml-form-embedBody form {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .ctaFrame input[type="email"],
  .ctaFrame input[type="text"] {
    flex: 1 1 auto !important;
  }
  .ctaFrame button,
  .ctaFrame input[type="submit"] {
    flex: 0 0 auto !important;
    min-width: 160px;
  }
}

.footer {
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0 0;
}

@media (min-width: 720px) {
  .wrap {
    padding-top: 54px;
  }
  .title {
    font-size: 74px;
  }
  .subtitle {
    font-size: 14px;
  }
}

/* Mobile tuning */
@media (max-width: 420px) {
  .wrap {
    padding-top: 26px;
  }
  .hero {
    padding-top: 14px;
  }
  .title {
    font-size: 34px;
    line-height: 1.02;
  }
  .subtitle {
    font-size: 13px;
  }
  .ctaArea {
    width: 100%;
  }
  .ctaFrame {
    border-radius: 18px;
    padding: 14px 12px 12px;
  }
  .ctaFrame input[type="email"],
  .ctaFrame input[type="text"] {
    border-radius: 14px !important;
  }
  .ctaFrame button,
  .ctaFrame input[type="submit"] {
    border-radius: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .nowrap {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg {
    background-image: none;
    background-color: #000;
    transform: none;
  }
}

