/**
 * Estilos compartidos del Ecosistema Kaxtik Pro
 * Aplicado a todas las páginas del ecosistema
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@700;800&display=swap');

:root {
  --bg: #f8fafc;
  --white: #fff;
  --dark: #0f172a;
  --dark2: #1e293b;
  --acc: #8b5cf6;
  --acc2: #06b6d4;
  --grn: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --mut: #64748b;
  --brd: #e2e8f0;
  --ft: 'Inter', sans-serif;
  --fh: 'Manrope', sans-serif;
}

/* Barra de navegación del ecosistema - siempre visible */
.ecosistema-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 0.6rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ecosistema-nav .eco-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--fh);
  font-size: 0.95rem;
  font-weight: 800;
}

.ecosistema-nav .eco-logo span {
  background: linear-gradient(135deg, #a78bfa, var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ecosistema-nav .eco-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.ecosistema-nav .eco-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--ft);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  transition: 0.2s;
}

.ecosistema-nav .eco-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
}

.ecosistema-nav .eco-link.activo {
  background: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

/* Base para páginas que usan solo este CSS */
body.ecosistema-body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--ft);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ecosistema-body * {
  box-sizing: border-box;
}

/* Hero estándar del ecosistema */
.hero-ecosistema {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 3rem 5% 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-ecosistema::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.hero-ecosistema h1 {
  font-family: var(--fh);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-ecosistema h1 span {
  background: linear-gradient(135deg, #a78bfa, var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ecosistema p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Container */
.container-ecosistema {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}