/* ========================================================================
   KORU NEXUS — Universidades Page Styles
   ======================================================================== */

.page-hero {
  padding-top: calc(var(--space-3xl) + 2rem);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(26,83,255,0.06) 0%, transparent 50%);
}

/* Benefits list */
.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: var(--space-sm) 0;
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
}

.benefits-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mini stats for dashboard mockup */
.mini-stat {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.mini-stat__value {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.mini-stat__label {
  font-size: var(--fs-xs);
  color: var(--clr-text-subtle);
}

/* ========================================================================
   Dashboard Preview — Mini browser window mockup
   ======================================================================== */
.uni-dash-preview {
  width: 100%;
  max-width: 420px;
  background: #0D0D1A;
  border: 1px solid rgba(26,83,255,0.3);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04), 0 0 60px rgba(26,83,255,0.07);
}

/* Window chrome (traffic lights + URL bar) */
.uni-dash-preview__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.uni-dash-preview__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.uni-dash-preview__dot--red    { background: #ff5f57; }
.uni-dash-preview__dot--yellow { background: #febc2e; }
.uni-dash-preview__dot--green  { background: #28c840; }

.uni-dash-preview__url {
  flex: 1;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* KPI banner */
.uni-dash-preview__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.uni-dash-preview__kpi {
  padding: 1rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.uni-dash-preview__kpi:last-child {
  border-right: none;
}

.uni-dash-preview__kpi-val {
  font-family: var(--ff-heading);
  font-size: 0.95rem;
  font-weight: var(--fw-black);
  color: #00D9C0;
  line-height: 1.2;
  margin-bottom: 3px;
}

.uni-dash-preview__kpi-val--green { color: #00D9C0; }
.uni-dash-preview__kpi-val--blue  { color: #1A53FF; }

.uni-dash-preview__kpi-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  font-family: var(--ff-mono);
}

/* Metric cards */
.uni-dash-preview__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.uni-dash-preview__metric {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #0D0D1A;
}

.uni-dash-preview__metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uni-dash-preview__metric-icon--teal   { background: rgba(0,217,192,0.12); color: #00D9C0; }
.uni-dash-preview__metric-icon--purple { background: rgba(123,47,255,0.12); color: #7B2FFF; }

.uni-dash-preview__metric-val {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 3px;
}

.uni-dash-preview__metric-val--purple { color: #7B2FFF; }

.uni-dash-preview__metric-label {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Status bar */
.uni-dash-preview__status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  font-family: var(--ff-mono);
}

.uni-dash-preview__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(40,200,64,0.6);
}

/* ── Light mode: dashboard preview adapta colores ── */
[data-theme="light"] .uni-dash-preview {
  background: #ffffff;
  border-color: rgba(26,83,255,0.14);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}
[data-theme="light"] .uni-dash-preview__chrome {
  background: #f5f6f8;
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .uni-dash-preview__url {
  color: rgba(0,0,0,0.48);
  background: rgba(0,0,0,0.05);
}
[data-theme="light"] .uni-dash-preview__kpis {
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .uni-dash-preview__kpi {
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .uni-dash-preview__kpi-val {
  color: #007a6a;
}
[data-theme="light"] .uni-dash-preview__kpi-val--green { color: #007a6a; }
[data-theme="light"] .uni-dash-preview__kpi-val--blue  { color: #1242cc; }
[data-theme="light"] .uni-dash-preview__kpi-sub {
  color: rgba(0,0,0,0.54);
}
[data-theme="light"] .uni-dash-preview__metrics {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .uni-dash-preview__metric {
  background: #ffffff;
}
[data-theme="light"] .uni-dash-preview__metric-icon--teal {
  background: rgba(0,150,120,0.10);
  color: #007a6a;
}
[data-theme="light"] .uni-dash-preview__metric-icon--purple {
  background: rgba(100,30,200,0.10);
  color: #5a1fc0;
}
[data-theme="light"] .uni-dash-preview__metric-val {
  color: #0D0D1A;
}
[data-theme="light"] .uni-dash-preview__metric-val--purple { color: #5a1fc0; }
[data-theme="light"] .uni-dash-preview__metric-label {
  color: rgba(0,0,0,0.56);
}
[data-theme="light"] .uni-dash-preview__status {
  color: rgba(0,0,0,0.52);
}

/* Responsive */
@media (max-width: 480px) {
  .uni-dash-preview {
    max-width: 100%;
  }
  .uni-dash-preview__kpi-val {
    font-size: 0.8rem;
  }
}
