/* =========================================================
   Jaguar Software — Tienda de aplicaciones
   Catálogo de apps listas para adaptar. Página aparte del
   landing. Mismo sistema visual de la marca.
   ========================================================= */
:root {
  --azul: #0B1320; --azul-2: #0e1828; --azul-3: #121f33;
  --marfil: #F2F1E9; --turquesa: #00C2B3; --naranja: #FF7A00; --verde: #34C38F;
  --muted: #9fb0c3; --muted-2: #6f8198;
  --line: rgba(242,241,233,0.10); --card: rgba(255,255,255,0.035);
  --fd: "Space Grotesk", system-ui, sans-serif; --fb: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22,1,0.36,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fb); background: var(--azul); color: var(--marfil);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(1100px 700px at 12% -8%, rgba(0,194,179,.14), transparent 55%),
    radial-gradient(900px 700px at 90% 4%, rgba(255,122,0,.10), transparent 52%);
  background-attachment: fixed;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wrap { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 1rem 0;
  background: rgba(11,19,32,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand b { font-family: var(--fd); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand b span { color: var(--turquesa); }
.nav__cta { font-family: var(--fd); font-weight: 600; font-size: .92rem;
  padding: .6rem 1.3rem; border-radius: 999px;
  background: linear-gradient(100deg, var(--naranja), #ff9d3d); color: #1c0c00; }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 2.5rem; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem;
  font-family: var(--fd); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .5rem 1.1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--marfil); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 12px var(--verde); }
.hero h1 { font-family: var(--fd); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { font-style: normal;
  background: linear-gradient(100deg, var(--turquesa), var(--verde) 55%, var(--naranja));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--muted); max-width: 60ch; margin: 1.1rem auto 0; font-size: 1.08rem; }
.hero .ventajas { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.hero .ventajas span { font-size: .9rem; color: var(--marfil); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; }
.hero .ventajas b { color: var(--turquesa); }

/* ---------- Filtros ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 2.5rem 0 2rem; }
.filtros button { font-family: var(--fd); font-weight: 500; font-size: .92rem;
  padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); transition: color .25s, border-color .25s, background .25s; }
.filtros button:hover { color: var(--marfil); }
.filtros button.on { color: var(--azul); background: var(--turquesa); border-color: var(--turquesa); font-weight: 600; }

/* ---------- Grid de apps ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; padding-bottom: 5rem; }
.app { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; background: var(--card);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.app:hover { transform: translateY(-6px); border-color: rgba(0,194,179,.4);
  box-shadow: 0 40px 70px -34px rgba(0,0,0,.85); }
.app__badge { position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--fd); font-weight: 600; font-size: .72rem; letter-spacing: .04em;
  padding: .35rem .8rem; border-radius: 999px; background: rgba(11,19,32,.7);
  border: 1px solid var(--line); backdrop-filter: blur(6px); color: var(--marfil); }
.app__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.app__title { display: flex; align-items: center; gap: .6rem; font-family: var(--fd); font-weight: 700; font-size: 1.25rem; }
.app__title .ic { font-size: 1.4rem; }
.app__desc { color: var(--muted); font-size: .96rem; margin-top: .5rem; }
.app__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.app__tags span { font-size: .78rem; color: var(--marfil); background: rgba(242,241,233,.06);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; }
.app__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.app__price { font-size: .86rem; color: var(--muted-2); }
.app__price b { display: block; font-family: var(--fd); font-size: 1rem; color: var(--marfil); font-weight: 600; }
.app__cta { font-family: var(--fd); font-weight: 600; font-size: .9rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.2rem; border-radius: 999px;
  background: linear-gradient(100deg, var(--turquesa), var(--verde)); color: #06231f;
  transition: transform .25s var(--ease); }
.app__cta:hover { transform: translateX(3px); }

/* ---------- Cierre / contacto ---------- */
.cierre { text-align: center; padding: 3rem 1.5rem 5rem; }
.cierre h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.cierre p { color: var(--muted); margin: .8rem auto 1.8rem; max-width: 52ch; }
.cierre .botones { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.btn { font-family: var(--fd); font-weight: 700; font-size: 1rem; padding: 1rem 2rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .5rem; }
.btn--primary { background: linear-gradient(100deg, var(--naranja), #ff9d3d); color: #1c0c00;
  box-shadow: 0 20px 45px -18px rgba(255,122,0,.8); }
.btn--ghost { background: var(--card); border: 1px solid var(--line); color: var(--marfil); }

.pie { border-top: 1px solid var(--line); padding: 1.6rem 0 2.5rem; color: var(--muted-2); font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; }
.pie b { color: var(--turquesa); font-weight: 600; }

/* ---------- Captura real de la app ---------- */
.shot { position: relative; aspect-ratio: 16/10; overflow: hidden;
  border-bottom: 1px solid var(--line); background: var(--azul-3); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease); }
.app:hover .shot img { transform: scale(1.04); }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,19,32,.28) 0%, transparent 30%); }

/* ---------- Estado y CTA ---------- */
.app__price b.libre { color: var(--verde); }
.app__cta--pronto { background: rgba(242,241,233,.08); color: var(--muted);
  border: 1px solid var(--line); cursor: default; }
.app__cta--pronto:hover { transform: none; }
.app--pronto .shot img { filter: grayscale(.75) brightness(.7); }
.badge--pronto { background: rgba(255,122,0,.85) !important; color: #1c0c00 !important;
  border-color: transparent !important; }

/* =========================================================
   MOCKS de las apps — UI abstracta y temática por color
   Cada app define --c y --c2 (acento). El "screen" simula
   la interfaz del producto con piezas reutilizables.
   ========================================================= */
.screen { position: relative; aspect-ratio: 16/10; overflow: hidden;
  background:
    radial-gradient(420px 300px at 20% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%),
    linear-gradient(160deg, var(--azul-3), var(--azul));
  border-bottom: 1px solid var(--line); padding: 18px; }
.screen__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(242,241,233,.18); }
.screen__bar i:nth-child(1){ background:#ff5f57 } .screen__bar i:nth-child(2){ background:#febc2e } .screen__bar i:nth-child(3){ background:#28c840 }
.screen__bar b { margin-left: auto; font-family: var(--fd); font-size: .72rem; color: var(--muted); font-weight: 500; }

/* piezas reutilizables */
.mk { --pill: color-mix(in srgb, var(--c) 22%, transparent); }
.mk-title { height: 12px; width: 55%; border-radius: 4px; background: rgba(242,241,233,.5); margin-bottom: 12px; }
.mk-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mk-tile { aspect-ratio: 1/1; border-radius: 10px; background: var(--pill); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  display: grid; place-items: center; font-size: 1.1rem; }
.mk-rows { display: grid; gap: 8px; }
.mk-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px;
  background: rgba(242,241,233,.05); border: 1px solid var(--line); }
.mk-row .dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(140deg, var(--c), var(--c2)); flex: none; }
.mk-row .ln { height: 7px; border-radius: 4px; background: rgba(242,241,233,.28); flex: 1; }
.mk-row .amt { height: 8px; width: 40px; border-radius: 4px; background: var(--c); flex: none; opacity: .85; }
.mk-kanban { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; height: 100%; }
.mk-col { background: rgba(242,241,233,.04); border: 1px solid var(--line); border-radius: 9px; padding: 7px; display: grid; gap: 6px; align-content: start; }
.mk-col .h { height: 6px; width: 60%; border-radius: 3px; background: var(--c); opacity: .8; margin-bottom: 2px; }
.mk-cardlet { height: 26px; border-radius: 7px; background: rgba(242,241,233,.08); border-left: 3px solid var(--c); }
.mk-cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.mk-cal span { aspect-ratio: 1/1; border-radius: 6px; background: rgba(242,241,233,.06); border: 1px solid var(--line); }
.mk-cal span.on { background: linear-gradient(140deg, var(--c), var(--c2)); border-color: transparent; }
.mk-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 9px; }
.mk-slots span { height: 26px; border-radius: 7px; background: rgba(242,241,233,.06); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: .62rem; color: var(--muted); font-family: var(--fd); }
.mk-slots span.book { background: var(--pill); border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--marfil); }
.mk-bars { display: flex; align-items: flex-end; gap: 9px; height: 100%; padding-top: 6px; }
.mk-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c2) 70%, transparent)); }
.mk-qr { width: 62px; height: 62px; border-radius: 10px; flex: none;
  background:
    conic-gradient(from 0deg, var(--marfil) 25%, transparent 0 50%, var(--marfil) 0 75%, transparent 0),
    var(--azul);
  background-size: 14px 14px; border: 4px solid var(--marfil); }
.mk-split { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.mk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mk-cards .c { border-radius: 9px; overflow: hidden; background: rgba(242,241,233,.05); border: 1px solid var(--line); }
.mk-cards .c .img { height: 42px; background: linear-gradient(140deg, var(--c), var(--c2)); opacity: .8; }
.mk-cards .c .b { height: 6px; width: 70%; margin: 6px; border-radius: 3px; background: rgba(242,241,233,.3); }
.mk-badge { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c); color: var(--azul); display: grid; place-items: center; font-weight: 700; font-size: .8rem; font-family: var(--fd); }
.mk-stamps { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 10px; }
.mk-stamps span { aspect-ratio: 1/1; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--c) 50%, transparent); display: grid; place-items: center; font-size: .8rem; }
.mk-stamps span.on { background: linear-gradient(140deg, var(--c), var(--c2)); border-style: solid; border-color: transparent; }
.mk-invite { border-radius: 12px; padding: 14px; text-align: center; background: linear-gradient(160deg, var(--c), var(--c2));
  color: #fff; display: grid; gap: 6px; height: 100%; align-content: center; }
.mk-invite .t { font-family: var(--fd); font-weight: 700; font-size: 1rem; }
.mk-invite .d { font-size: .7rem; opacity: .9; }
.mk-invite .rsvp { justify-self: center; margin-top: 4px; font-size: .65rem; font-family: var(--fd); font-weight: 600;
  background: rgba(255,255,255,.95); color: #1c0c00; padding: 5px 14px; border-radius: 999px; }
.mk-court { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; height: 100%; }
.mk-court .ct { border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center;
  font-size: .6rem; font-family: var(--fd); color: var(--muted); position: relative; }
.mk-court .ct.busy { background: color-mix(in srgb, var(--c) 22%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--marfil); }
.mk-court .ct::before { content: ""; position: absolute; inset: 22% 8%; border: 1px solid rgba(242,241,233,.25); border-radius: 3px; }
.mk-total { margin-top: 9px; display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 9px; background: linear-gradient(100deg, var(--c), var(--c2)); color: #06231f; }
.mk-total .lbl { font-size: .7rem; font-weight: 600; font-family: var(--fd); }
.mk-total .val { font-family: var(--fd); font-weight: 700; }

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
