:root {
  color-scheme: dark;
  --accent: #c30d3b;
  --accent-dark: #72082d;
  --muted: #d7d7df;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background: #180b1f;
}

.background {
  position: fixed;
  inset: -18px;
  background: center / cover no-repeat url("../assets/images/desktop-bg.png");
  filter: blur(1px);
  transform: scale(1.04);
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56);
}

.shade {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 0, 20, .5), rgba(0, 0, 0, .3));
}

.modal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.card {
  position: relative;
  width: min(100%, 410px);
  padding: 38px 30px 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: rgba(23, 8, 29, .86);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px);
}

.close {
  position: absolute;
  top: 10px;
  right: 13px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  opacity: .8;
}

.close:hover { opacity: 1; }

.logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto 15px;
}

h1 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 25px;
}

.intro {
  margin: 0 0 24px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

label {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  margin-bottom: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font: inherit;
}

input:focus {
  border-color: #ef4770;
  box-shadow: 0 0 0 3px rgba(239, 71, 112, .2);
}

.button {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter .2s, transform .2s;
}

.button:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 78%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 12px;
  background: linear-gradient(90deg, #087f39, #16b957);
  border: 1px solid #27d16f;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.note {
  margin: 18px 0 0;
  color: #bbb5c0;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .background { background-image: url("../assets/images/mobile-bg.png"); }
  .modal { padding: 16px; }
  .card { padding: 34px 22px 24px; }
}
