/* Landing page — extraido de landing.html (CSP: style-src 'self') */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f0f14;
  color: #e2e2e9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e1e2e;
}

.logo { font-size: 1.1rem; font-weight: 600; color: #cba6f7; letter-spacing: 0.02em; }

nav a {
  color: #a6adc8;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.15s;
}
nav a:hover { background: #1e1e2e; color: #cdd6f4; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #cdd6f4;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 span { color: #cba6f7; }

.subtitle {
  font-size: 1.05rem;
  color: #a6adc8;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.card {
  background: #1e1e2e;
  border: 1px solid #313244;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #cdd6f4;
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1rem; text-align: left; }

label {
  display: block;
  font-size: 0.85rem;
  color: #a6adc8;
  margin-bottom: 0.35rem;
}

input[type="text"], input[type="email"] {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: #11111b;
  border: 1px solid #45475a;
  border-radius: 7px;
  color: #cdd6f4;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}
input:focus { border-color: #cba6f7; }

button[type="submit"] {
  width: 100%;
  padding: 0.7rem;
  background: #cba6f7;
  color: #11111b;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: opacity 0.15s;
}
button[type="submit"]:hover { opacity: 0.88; }
button[type="submit"]:disabled { opacity: 0.5; cursor: default; }

.notice {
  font-size: 0.8rem;
  color: #6c7086;
  margin-top: 1rem;
  line-height: 1.5;
}

.portal-link {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #a6adc8;
}
.portal-link a { color: #89b4fa; text-decoration: none; }
.portal-link a:hover { text-decoration: underline; }

#msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 7px;
  font-size: 0.9rem;
  display: none;
}
#msg.ok  { background: #1e2f1e; border: 1px solid #a6e3a1; color: #a6e3a1; }
#msg.err { background: #2f1e1e; border: 1px solid #f38ba8; color: #f38ba8; }

.features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.feature {
  background: #1e1e2e;
  border: 1px solid #313244;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  max-width: 180px;
  text-align: left;
}
.feature-icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.feature-title { font-size: 0.85rem; font-weight: 600; color: #cdd6f4; margin-bottom: 0.25rem; }
.feature-desc  { font-size: 0.78rem; color: #6c7086; line-height: 1.4; }

footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #45475a;
  border-top: 1px solid #1e1e2e;
}
