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

:root {
  --nexy-blue: #14A0EE;
  --nexy-blue-dark: #0B7FC0;
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-input: #1a1a1a;
  --border: #2a2a2a;
  --text: #F5F5F7;
  --muted: #86868B;
  --danger: #FF453A;
  --success: #30D158;
}

html, body {
  min-height: 100vh;
  font-family: 'Satoshi', -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout centrado */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  width: 100%;
  max-width: 420px;
}

/* Logo Nexy */
.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--nexy-blue);
  text-align: center;
  margin-bottom: 6px;
}
.logo-dot { color: var(--nexy-blue); }
.logo-sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

/* Títulos */
h1 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 6px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 16px;
}
.subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Formulario */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.3px;
}
input, textarea, select {
  background: var(--bg-input);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--nexy-blue);
}
input::placeholder, textarea::placeholder { color: #3a3a3a; }
textarea { resize: none; }

/* Botones */
.btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: -0.2px;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--nexy-blue); color: #0a0a0a; }
.btn-primary:hover:not(:disabled) { background: var(--nexy-blue-dark); }

.btn-secondary {
  background: var(--bg-input);
  color: var(--text);
  border: 0.5px solid var(--border);
}

.btn-white { background: #ffffff; color: #0a0a0a; }

/* Mensajes */
.msg {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  display: none;
}
.msg.show { display: block; }
.msg-error { background: rgba(255,69,58,0.12); color: var(--danger); border: 0.5px solid rgba(255,69,58,0.3); }
.msg-success { background: rgba(48,209,88,0.12); color: var(--success); border: 0.5px solid rgba(48,209,88,0.3); }

/* Divider */
.divider {
  height: 0.5px;
  background: var(--border);
  margin: 20px 0;
}

/* Link texto */
.link {
  color: var(--nexy-blue);
  text-decoration: none;
  font-size: 13px;
}
.link:hover { text-decoration: underline; }

.text-center { text-align: center; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.gap-8 { gap: 8px; }

/* Footer powered */
.powered {
  font-size: 11px;
  color: #3a3a3a;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 20px;
}
.powered span { color: var(--nexy-blue); }
