/* CRIXMA LABS | Base visual para las futuras paginas interiores.
   Solo usar en /apps/, /soluciones/, /contacto/, /nosotros, etc.
   Requiere <html lang="es" data-crixma-theme="light">.
   La portada NO incluye este archivo para conservar su diseño oscuro. */
:root {
  --crixma-surface: #f8faff;
  --crixma-card: #fff;
  --crixma-text: #171b36;
  --crixma-muted: #656b88;
  --crixma-violet: #6948ed;
  --crixma-cyan: #119fce;
  --crixma-border: rgba(104,95,172,.14);
  --crixma-shadow: 0 22px 70px rgba(41,49,91,.07);
}
html[data-crixma-theme="light"] {
  color-scheme: light;
  background: var(--crixma-surface);
}
html[data-crixma-theme="light"] body {
  margin: 0;
  min-height: 100vh;
  color: var(--crixma-text);
  background:
    radial-gradient(ellipse 45% 36% at 90% 8%, rgba(110,90,245,.085), transparent 85%),
    radial-gradient(ellipse 48% 38% at 8% 68%, rgba(50,211,254,.075), transparent 82%),
    var(--crixma-surface);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-crixma-theme="light"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(100,114,193,.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(100,114,193,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 90%);
}
/* Avoid generic positioning of body children: it breaks sticky headers and the fixed transition overlay. */
html[data-crixma-theme="light"] a { color: inherit; }
html[data-crixma-theme="light"] :focus-visible {
  outline: 2px solid var(--crixma-violet);
  outline-offset: 4px;
}
.crixma-light-card {
  background: var(--crixma-card);
  border: 1px solid var(--crixma-border);
  border-radius: 20px;
  box-shadow: var(--crixma-shadow);
}
.crixma-light-gradient-text {
  background: linear-gradient(105deg, #7551eb 10%, #16a6d2 95%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
