/* ── MCA SaaS — Landing pública: Glassmorphism Aurora ───────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #030305;
  --aurora-1:    #4f46e5;
  --aurora-2:    #7c3aed;
  --text:        #ffffff;
  --muted:       rgba(255,255,255,.65);
  --accent:      #a78bfa;
  --glass:       rgba(255,255,255,.04);
  --glass-hover: rgba(255,255,255,.07);
  --border:      rgba(255,255,255,.12);
  --btn-bg:      #ffffff;
  --btn-text:    #050505;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* AURORA — manchas de fondo difuminadas, fijas al viewport */
.aurora-blob {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
}
.aurora-1 { background: var(--aurora-1); opacity: .35; top: -8%;  left: 8%; }
.aurora-2 { background: var(--aurora-2); opacity: .35; top: 35%;  right: 5%; }
.aurora-3 { background: var(--aurora-1); opacity: .25; bottom: -10%; left: 30%; }

/* GLASS — tarjeta de vidrio reutilizable */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,.5);
  transition: background .2s, border-color .2s, transform .2s;
}
.glass:hover { background: var(--glass-hover); }

/* HIGHLIGHT — texto degradado índigo→violeta */
.hl {
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3,3,5,.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 64px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: 'Montserrat',sans-serif; font-weight: 900; font-size: 1.3rem; color: var(--text); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* BOTONES */
.btn-nav {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; padding: .5rem 1.25rem; font-family: 'Inter',sans-serif; font-weight: 700;
  font-size: .875rem; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s;
}
.btn-nav:hover { background: var(--glass-hover); border-color: rgba(255,255,255,.25); color: #fff; }

.btn-cta {
  background: var(--btn-bg); color: var(--btn-text); border: none; border-radius: 12px;
  padding: .85rem 1.75rem; font-family: 'Inter',sans-serif; font-size: .95rem; font-weight: 800;
  letter-spacing: .02em; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: box-shadow .25s, transform .15s;
  display: inline-block;
}
.btn-cta:hover { box-shadow: 0 0 24px rgba(255,255,255,.45); transform: translateY(-2px); color: var(--btn-text); }

.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  border-radius: 12px; padding: .85rem 1.75rem; font-family: 'Inter',sans-serif;
  font-size: .95rem; font-weight: 700; cursor: pointer; text-decoration: none;
  text-align: center; display: block; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.35); background: var(--glass-hover); color: var(--text); }

/* KICKER (pill de etiqueta) */
.kicker, .hero-kicker, .section-kicker {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
.kicker, .hero-kicker {
  border: 1px solid rgba(167,139,250,.3); background: rgba(167,139,250,.08);
  padding: .3rem 1rem; border-radius: 100px; margin-bottom: 1.75rem;
}
.section-kicker { margin-bottom: 1rem; }

/* CTA FINAL */
.cta-final {
  text-align: center; padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.cta-final h2 {
  font-family: 'Montserrat',sans-serif; font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 1rem;
}
.cta-final p { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }
.cta-note { margin-top: 1rem; font-size: .78rem; color: var(--muted); }
.cta-note-btn { display: block; width: fit-content; margin: 1rem auto 0; padding: .55rem 1.25rem; font-size: .8rem; }

/* FOOTER */
footer {
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  padding: 3rem 64px 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; max-width: 1200px; margin: 0 auto 2rem; }
.footer-logo { font-family: 'Montserrat',sans-serif; font-weight: 900; font-size: 1.2rem; margin-bottom: .5rem; }
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .85rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto;
  padding-top: 1.25rem; display: flex; justify-content: space-between;
  font-size: .75rem; color: var(--muted);
}

/* TÍTULOS DE SECCIÓN GENÉRICOS */
.section h2, .page-header h1 {
  font-family: 'Montserrat',sans-serif; font-weight: 900;
  line-height: 1.15; letter-spacing: -1px;
  margin-bottom: .75rem;
}

/* AVISO "EN CONSTANTE MEJORA" */
.aviso-mejora {
  max-width: 780px; margin: 0 auto 60px; padding: 1.5rem 1.75rem;
  text-align: center;
}
.aviso-mejora p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.aviso-mejora strong { color: var(--text); }

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .aurora-blob { width: 320px; height: 320px; filter: blur(110px); }
  footer { padding: 2.5rem 20px 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; }
}
