/* Monfor visual manifest — densidad "sobria" (marketing/landing), tokens de
   design/MONFOR-VISUAL-MANIFEST.md. Acento por defecto: cyan; una comunidad puede
   overridear con --accent inline vía Community.BrandColor (ver _Layout.cshtml). */

:root {
  --bg-0: #040911;
  --bg-1: #06101b;
  --bg-3: #0b1827;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --txt-1: #f0f4ff;
  --txt-2: #8fa3c0;
  --txt-3: #4e6882;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --acc-cyan: #00e5ff;
  --acc-cyan-deep: #00a6bf;
  --acc-red: #f05a4e;

  --accent: var(--acc-cyan);
  --accent-deep: var(--acc-cyan-deep);
}

* , *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--txt-1);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 600px at 20% -10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%),
    radial-gradient(800px 500px at 90% 110%, rgba(168, 85, 247, 0.05), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(11, 24, 39, 0.7), rgba(6, 13, 23, 0.55));
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin: 0 auto 20px;
  background: conic-gradient(from 220deg at 50% 50%, #4e8df2, var(--acc-cyan), #a855f7, #4e8df2);
  box-shadow: 0 0 16px -4px rgba(78, 141, 242, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: #06101c;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin: 0 auto 20px;
  object-fit: cover;
}

h1 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

.subtitle {
  color: var(--txt-2);
  font-size: 15px;
  margin: 0 0 24px;
}

.form-row { margin-bottom: 12px; text-align: left; }

.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--txt-1);
  font-family: var(--body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}

.input:focus { border-color: var(--border-strong); }

.input::placeholder { color: var(--txt-3); }

.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 16px;
  height: 49px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.phone-row:focus-within { border-color: var(--border-strong); }

.phone-row__prefix { color: var(--txt-3); font-family: var(--body); font-size: 16px; }

.phone-row input {
  flex-grow: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--txt-1);
  font-family: var(--body);
  font-size: 16px;
  padding: 0;
}

.phone-row input::placeholder { color: var(--txt-3); }

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

.btn-primary {
  width: 100%;
  display: block;
  background: var(--accent-deep);
  color: #04101c;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary:hover { background: var(--accent); }

.btn-primary:disabled,
.btn-primary.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-ghost {
  width: 100%;
  display: block;
  background: transparent;
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 14px;
  text-decoration: none;
  margin-top: 12px;
}

.error {
  color: var(--acc-red);
  font-size: 13px;
  margin: 0 0 12px;
  text-align: left;
}

.count {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-3);
}

.count strong { color: var(--txt-2); }

.confirmation-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: rgba(62, 208, 164, 0.12);
  border: 1px solid rgba(62, 208, 164, 0.4);
  display: grid;
  place-items: center;
  color: #3ed0a4;
  font-size: 20px;
}
