/* ===== MPP NETWORK — estilos ===== */
:root {
  --bg: #04050a;
  --bg-2: #080a14;
  --text: #eaeefb;
  --muted: #9aa3c4;
  --cyan: #00e5ff;
  --violet: #8b5cff;
  --magenta: #ff3da6;
  --grad: linear-gradient(110deg, #00e5ff 0%, #8b5cff 50%, #ff3da6 100%);
  --grad-2: linear-gradient(110deg, #8b5cff 0%, #ff3da6 100%);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-brd: rgba(255, 255, 255, 0.10);
  --radius: 20px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  cursor: none;
}

@media (max-width: 900px) { body { cursor: auto; } }

h1, h2, h3, .nav__mark, .stat__num, .step__num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.05;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Fondo ===== */
#network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(139, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(0, 229, 255, 0.12), transparent 55%),
    radial-gradient(800px 700px at 50% 120%, rgba(255, 61, 166, 0.12), transparent 55%),
    var(--bg);
  pointer-events: none;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
}
.orb--1 { width: 420px; height: 420px; background: #7b2cff; top: -120px; left: -100px; }
.orb--2 { width: 360px; height: 360px; background: #00b3ff; bottom: -120px; right: -80px; animation-delay: -6s; }
.orb--3 { width: 300px; height: 300px; background: #ff2d9b; top: 45%; left: 55%; animation-delay: -11s; opacity: 0.35; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); transition: transform 0.1s; }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(139, 92, 255, 0.7);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: rgba(0, 229, 255, 0.9);
  background: rgba(0, 229, 255, 0.08);
}
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ===== Barra de progreso ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 1000;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 8, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-brd);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__logo { display: flex; align-items: baseline; gap: 8px; letter-spacing: 1px; }
.nav__mark {
  font-size: 1.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav__word { font-size: 0.78rem; letter-spacing: 4px; color: var(--muted); font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.92rem; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  color: var(--text) !important;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
}
.nav__cta:hover { border-color: rgba(0, 229, 255, 0.6); box-shadow: 0 0 24px rgba(0, 229, 255, 0.25); transform: translateY(-1px); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    background: rgba(8, 10, 20, 0.96);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--glass-brd);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.22,1,.36,1);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; }
}

/* ===== Contenedores y reveal ===== */
section { position: relative; z-index: 2; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 40px) 80px;
}
.hero__inner { max-width: 920px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.75);} }

.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  letter-spacing: -1.5px;
  margin-bottom: 26px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
}
.grad--2 { background-image: var(--grad-2); }
@keyframes shimmer { to { background-position: 200% center; } }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 38px;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }

.hero__chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.chip {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(8px);
}
.chip strong { color: var(--text); display: block; font-size: 0.9rem; font-family: "Space Grotesk"; }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: "Space Grotesk";
  border: 1px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  will-change: transform;
}
.btn svg { transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: var(--grad);
  background-size: 180% auto;
  color: #04050a;
  box-shadow: 0 8px 30px rgba(139, 92, 255, 0.4);
}
.btn--primary:hover { box-shadow: 0 12px 44px rgba(0, 229, 255, 0.5); background-position: right center; }
.btn--ghost { background: var(--glass); border-color: var(--glass-brd); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(0, 229, 255, 0.6); box-shadow: 0 0 30px rgba(0, 229, 255, 0.2); }
.btn--block { width: 100%; justify-content: center; }

/* ===== Scroll cue ===== */
.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--glass-brd);
  border-radius: 20px;
  display: flex;
  justify-content: center;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--cyan); margin-top: 7px; animation: cue 1.6s infinite; }
@keyframes cue { 0%{opacity:0;transform:translateY(-4px);} 50%{opacity:1;} 100%{opacity:0;transform:translateY(14px);} }

/* ===== MARQUEE ===== */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--glass-brd);
  border-bottom: 1px solid var(--glass-brd);
  background: rgba(8, 10, 20, 0.4);
  backdrop-filter: blur(6px);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 28s linear infinite;
  font-family: "Space Grotesk";
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 1.05rem;
  color: var(--text);
}
.marquee__track .dot { color: var(--magenta); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ===== STATS ===== */
.stats { padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 40px); }
.stats__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 34px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(8px);
}
.stat__num {
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  letter-spacing: 0.2px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 10px; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Secciones genéricas ===== */
.section { padding: clamp(70px, 11vw, 140px) clamp(20px, 5vw, 40px); max-width: var(--maxw); margin: 0 auto; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk";
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section__title { font-size: clamp(1.9rem, 4.5vw, 3.2rem); letter-spacing: -1px; }
.section__lead { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.card:hover::after { opacity: 1; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.16), rgba(255,61,166,0.16));
  border: 1px solid var(--glass-brd);
  margin-bottom: 22px;
  color: var(--cyan);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  padding: 38px 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(10px);
  position: relative;
}
.step__num {
  font-size: 3rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.85;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ===== Exclusividad ===== */
.exclusive {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 13vw, 170px) clamp(20px, 5vw, 40px);
  text-align: center;
  overflow: hidden;
}
.exclusive::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 50%, rgba(139,92,255,0.18), transparent 70%);
  pointer-events: none;
}
.exclusive__inner { max-width: 760px; margin: 0 auto; position: relative; }
.exclusive__title { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -1.5px; margin: 10px 0 24px; }
.exclusive__text { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 30px; }
.exclusive__pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.exclusive__pills span {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
}

/* ===== Fundador ===== */
.founder__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.founder__photo { position: relative; display: grid; place-items: center; }
.founder__avatar {
  width: clamp(180px, 26vw, 280px);
  aspect-ratio: 1;
  border-radius: 30px;
  display: grid; place-items: center;
  font-family: "Space Grotesk";
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #04050a;
  background: var(--grad);
  background-size: 200% auto;
  animation: shimmer 7s linear infinite;
  box-shadow: 0 20px 70px rgba(139, 92, 255, 0.45);
  position: relative; z-index: 2;
}
.founder__glow {
  position: absolute;
  width: 70%; height: 70%;
  background: var(--magenta);
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
}
.founder__role { color: var(--cyan); font-weight: 600; margin: 8px 0 22px; }
.founder__quote { color: var(--text); font-size: 1.2rem; line-height: 1.7; font-style: italic; opacity: 0.92; }
@media (max-width: 820px) {
  .founder__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .founder__photo { order: -1; }
}

/* ===== Apply / Form ===== */
.apply {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 11vw, 140px) clamp(20px, 5vw, 40px);
}
.apply__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 28px;
  background: rgba(10, 12, 22, 0.6);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.apply__inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 50% -10%, rgba(0,229,255,0.14), transparent 70%);
  pointer-events: none;
}
.apply__title { font-size: clamp(1.9rem, 5vw, 3rem); margin: 8px 0 12px; }
.apply__lead { color: var(--muted); margin-bottom: 34px; }

.form { text-align: left; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.4px; }
.field input, .field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-brd);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(154,163,196,0.5); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
  background: rgba(255,255,255,0.06);
}
.field input.invalid, .field textarea.invalid { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255, 61, 166, 0.14); }
.form__note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; } }

.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 10px;
  text-align: center;
}
.form__success.is-visible { display: flex; animation: pop 0.5s cubic-bezier(.22,1.4,.36,1); }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.form__success-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(139,92,255,0.2));
  border: 1px solid rgba(0,229,255,0.4);
  color: var(--cyan);
}
.form__success h3 { font-size: 1.6rem; }
.form__success p { color: var(--muted); max-width: 380px; }

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 64px 20px 48px;
  border-top: 1px solid var(--glass-brd);
  background: rgba(6, 8, 16, 0.5);
}
.footer__brand { display: flex; gap: 8px; align-items: baseline; justify-content: center; margin-bottom: 14px; }
.footer__tag { color: var(--muted); margin-bottom: 22px; }
.footer__links { display: flex; gap: 26px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__copy { color: rgba(154,163,196,0.6); font-size: 0.8rem; }
