* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(9, 184, 80, 0.35), transparent 42%),
    radial-gradient(circle at 85% 82%, rgba(9, 184, 80, 0.25), transparent 45%),
    linear-gradient(135deg, #0f172a, #1e293b);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 24px;
}

/* Topographic "contour" rings, in the primary green, faded toward the edges */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-radial-gradient(
    circle at 50% 42%,
    transparent 0,
    transparent 54px,
    rgba(9, 184, 80, 0.16) 55px,
    rgba(9, 184, 80, 0.16) 56px,
    transparent 57px
  );
  -webkit-mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 68%);
  pointer-events: none;
}

/* Faint "net" grid, layered on top of the contours, also faded at the edges */
body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(9, 184, 80, 0.14) 0, rgba(9, 184, 80, 0.14) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(90deg, rgba(9, 184, 80, 0.14) 0, rgba(9, 184, 80, 0.14) 1px, transparent 1px, transparent 46px);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
  pointer-events: none;
}

.card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.brand-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.card.hidden {
  display: none;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #0f172a;
}

.subtitle {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 14px;
}

form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  margin-top: 14px;
}

input {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

input:focus {
  border-color: #09B850;
}

button {
  margin-top: 24px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #09B850;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

button:hover {
  background: #078a3c;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 10px;
  min-height: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.btn.whatsapp {
  background: #25d366;
}

.btn.whatsapp:hover {
  background: #1ebe57;
}

.btn.telegram {
  background: #229ed9;
}

.btn.telegram:hover {
  background: #1c8ac0;
}
