/* Modern UI overrides - minimal, no breaking changes */
:root{
  --bg: #0b1220;          /* near-slate gradient base */
  --bg-2: #0f172a;
  --card: #0f172a;
  --text: #0f172a;        /* default for light sections */
  --text-invert: #f8fafc; /* for dark sections */
  --accent: #2563eb;      /* blue-600 */
  --accent-2: #22d3ee;    /* cyan-400 */
  --muted: #64748b;       /* slate-500 */
}

/* Base font */
html, body{ font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; }

/* Hero section: si existe .top, darle look moderno sin romper */
section.top{
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text-invert);
}
section.top h1, section.top h2, section.top h3{ color: var(--text-invert); letter-spacing: -0.02em; }

/* Botón menú más visible sobre fondos oscuros */
.menu-btn{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 12px;
  backdrop-filter: blur(6px);
}

/* Cards: si hay módulos con cajas, agregar sombra sutil */
.card, .module, .box, .panel{
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

/* Links y CTAs */
a, .btn, .button{
  transition: all .2s ease-in-out;
}
a:hover, .btn:hover, .button:hover{
  filter: brightness(1.05);
}
.btn-primary, .button.primary{
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white !important;
  border: none;
  border-radius: 12px;
}

/* Tabla y bordes más suaves */
.table, table{
  border-collapse: separate;
  border-spacing: 0 8px;
}
.table th, .table td, table th, table td{
  border: none;
}
.table tr{
  background: #fff;
}
.table thead th{
  color: #0f172a;
  font-weight: 600;
}

/* Tipografía jerárquica */
h1{ font-weight: 700; }
h2{ font-weight: 600; }
h3{ font-weight: 600; }

/* Footer más legible */
footer{ color: var(--text); }

/* Responsivo sutil para contenedores centrales */
#container{
  width: 100%;
  max-width: none;
  margin: 0;
}
