/* Páginas públicas de Orion Chat (inicio, privacidad, términos).
   Mismos colores que el tema Orion de la app. */
:root {
  --bg: #0a0a12;
  --bg-card: #151524;
  --border: #2c2a48;
  --text: #f7f5ff;
  --text-secondary: #c6c1e8;
  --text-muted: #8380aa;
  --accent-1: #8a3bff;
  --accent-2: #22d3ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(138, 59, 255, 0.18), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(34, 211, 255, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

.pagina {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
header a.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
header img { width: 40px; height: 40px; }
.idiomas {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.idiomas button {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.idiomas button.elegido {
  color: var(--text);
  border-color: var(--accent-1);
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 8px 0 4px;
}
h2 {
  font-size: 19px;
  margin: 32px 0 8px;
  color: var(--text);
}
p, li { color: var(--text-secondary); }
.fecha { color: var(--text-muted); font-size: 14px; margin-top: 0; }
a { color: var(--accent-2); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
strong { color: var(--text); }

/* Solo se ve el idioma elegido (sin JavaScript se ven todos) */
.js [data-idioma] { display: none; }
.js [data-idioma].visible { display: block; }

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
footer a { margin-right: 14px; }

/* Inicio */
.portada {
  text-align: center;
  padding: 40px 0 8px;
}
.portada img { width: 140px; height: 140px; }
.portada h1 {
  font-size: 40px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.portada p { font-size: 18px; max-width: 520px; margin: 8px auto 0; }
.funciones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 560px) {
  .funciones { grid-template-columns: 1fr; }
}
.funciones div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.funciones strong { display: block; margin-bottom: 4px; }
.funciones span { color: var(--text-secondary); font-size: 14px; }

/* Apoyá Orion */
.apoyar {
  margin-top: 32px;
  padding: 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.apoyar h2 { margin-top: 0; }
.boton-apoyar {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.boton-apoyar + .boton-apoyar { margin-left: 8px; }
@media (max-width: 560px) {
  .boton-apoyar { display: block; }
  .boton-apoyar + .boton-apoyar { margin: 8px 0 0; }
}
