/* GuishApp — sitio (index.html / index-en.html). Sin build: CSS plano. */

:root {
  --ink: #0b0a12;
  --ink-2: #12101c;
  --ink-3: #1b1828;
  --line-dark: rgba(255, 255, 255, 0.09);
  --on-dark: #f5f3ff;
  --on-dark-muted: #a7a2bd;
  --paper: #ffffff;
  --paper-2: #f6f4fb;
  --line: #e9e6f2;
  --text: #0b0a12;
  --text-muted: #5d5a70;
  --violet: #8b5cf6;
  --violet-strong: #7c3aed;
  --pink: #ec4899;
  --orange: #f97316;
  --grad: linear-gradient(100deg, #a78bfa 0%, #ec4899 55%, #fb923c 100%);
  --radius: 22px;
  --radius-lg: 32px;
  --max: 1120px;
  --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: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 16px; }

/* ---------- Tipografía ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet-strong);
}
.dark .eyebrow { color: #c4b5fd; }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }

.display {
  font-size: clamp(2.9rem, 8vw, 6.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.title { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--text-muted); max-width: 640px; }
.dark .lead { color: var(--on-dark-muted); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  padding: 12px 22px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet-strong), #a855f7 60%, var(--pink));
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.8);
}
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(139, 92, 246, 0.95); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.center .stores { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 182px; padding: 10px 20px 10px 16px; border-radius: 16px;
  background: #fff; color: var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(167, 139, 250, 0.8); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 0.68rem; font-weight: 600; line-height: 1.1; opacity: 0.7; }
.store strong { display: block; font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.light .store { background: var(--ink); color: #fff; }

/* ---------- Navegación ---------- */

.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: calc(100% - 28px); max-width: var(--max);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(18, 16, 28, 0.55);
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(14, 12, 22, 0.82); box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.6); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: none; gap: 28px; font-size: 0.9rem; font-weight: 600; color: var(--on-dark-muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; font-size: 0.78rem; font-weight: 700; }
.lang a { color: var(--on-dark-muted); padding: 6px 8px; border-radius: 999px; }
.lang a.on { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav .btn { padding: 10px 18px; font-size: 0.88rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Secciones ---------- */

section { position: relative; }
.dark { background: var(--ink); color: var(--on-dark); }
.light { background: var(--paper); color: var(--text); }
.soft { background: var(--paper-2); color: var(--text); }
.pad { padding: clamp(88px, 12vw, 150px) 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 20px; }

/* ---------- Hero ---------- */

.hero { overflow: hidden; padding: 150px 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 38% at 50% 22%, rgba(139, 92, 246, 0.45), transparent 70%),
    radial-gradient(30% 30% at 82% 48%, rgba(236, 72, 153, 0.28), transparent 70%),
    radial-gradient(30% 30% at 16% 60%, rgba(124, 58, 237, 0.3), transparent 70%);
  filter: blur(10px);
  animation: aurora 18s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
@keyframes aurora {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.08); }
}
.pill-new {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  font-size: 0.85rem; font-weight: 600; color: var(--on-dark-muted);
}
.pill-new b {
  padding: 3px 10px; border-radius: 999px; color: #fff; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--grad);
}
.hero .display { margin-top: 26px; }
.hero .lead { margin-top: 24px; }
.hero .stores { margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--on-dark-muted); }

.stage { position: relative; margin: 72px auto 0; width: min(340px, 80vw); }
.phone {
  position: relative; z-index: 1;
  aspect-ratio: 1290 / 2796;
  border-radius: 15% / 7%;
  padding: 3.2%;
  background: linear-gradient(160deg, #2b2838, #121019 60%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 50px 120px -30px rgba(139, 92, 246, 0.65),
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.phone img, .phone video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12.5% / 5.8%;
}
.stage .phone { margin-bottom: -18%; }

.chip {
  position: absolute; z-index: 3; display: none;
  align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(30, 27, 44, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: #fff; font-size: 0.9rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; color: var(--on-dark-muted); font-weight: 500; font-size: 0.78rem; }
.chip .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.chip .ico svg { width: 20px; height: 20px; }
.chip-1 { left: -205px; top: 16%; }
.chip-2 { right: -215px; top: 36%; animation-delay: -2s; }
.chip-3 { left: -190px; top: 58%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (min-width: 980px) { .chip { display: flex; } }

.ico-pink { background: rgba(236, 72, 153, 0.18); color: #f9a8d4; }
.ico-violet { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.ico-orange { background: rgba(249, 115, 22, 0.18); color: #fdba74; }

/* ---------- Manifiesto + cifras ---------- */

.statement {
  font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  color: #b9b5c9; max-width: 960px;
}
.statement strong { color: var(--text); font-weight: 800; }
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid var(--line);
}
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--text-muted); font-size: 0.95rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Guishes ---------- */

.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 80px; } }
.features { display: grid; gap: 18px; margin-top: 36px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; }
.feature p { color: var(--on-dark-muted); font-size: 0.97rem; margin-top: 2px; }

.post-card {
  position: relative; max-width: 440px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 60px 120px -40px rgba(139, 92, 246, 0.55);
  animation: float 8s ease-in-out infinite;
}
.post-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); pointer-events: none;
}
.post-glow { position: relative; }
.post-glow::before {
  content: ""; position: absolute; inset: 10% -10%; z-index: 0;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.35), transparent);
  filter: blur(30px);
}
/* Encabezado de una tarjeta de marca sugerida, como en la app. */
.post-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: #12101a; color: #fff; font-weight: 700; font-size: 0.98rem;
}
.post-head .av {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 1rem;
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.6);
}
.post-head .sug {
  padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  background: rgba(139, 92, 246, 0.2); color: #ddd6fe;
}
.post-head .more { margin-left: auto; letter-spacing: 2px; color: var(--on-dark-muted); }

/* ---------- Pasos ---------- */

.steps { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--paper-2); border: 1px solid var(--line);
}
.step .num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--violet-strong), var(--pink));
}
.step h3 { font-size: 1.5rem; margin-top: 22px; }
.step p { color: var(--text-muted); margin-top: 10px; }
.ways { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ways span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600; color: var(--text);
}

/* ---------- Bento ---------- */

.bento { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .span-2 { grid-column: span 2; }
}
.tile {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  min-height: 260px; display: flex; flex-direction: column;
}
.tile h3 { font-size: 1.5rem; }
.tile p { color: var(--text-muted); margin-top: 10px; max-width: 460px; }
.tile .tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: #f1ecff; color: var(--violet-strong); }
.tile .tile-ico svg { width: 24px; height: 24px; }
.tile.ink { background: var(--ink-2); border-color: var(--ink-3); color: var(--on-dark); }
.tile.ink p { color: var(--on-dark-muted); }
.tile.ink .tile-ico { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.tile.ink::before {
  content: ""; position: absolute; right: -20%; top: -40%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent);
}
.tile > * { position: relative; }

.mini-list { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; max-width: 520px; }
.mini-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  font-size: 0.92rem; font-weight: 600;
}
.mini-item .thumb { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.mini-item .tag { margin-left: auto; font-size: 0.75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.tag-taken { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.tag-free { background: rgba(255, 255, 255, 0.08); color: var(--on-dark-muted); }

.date-badge { margin-top: auto; padding-top: 26px; display: flex; align-items: flex-end; gap: 14px; }
.date-badge b { font-size: 4.2rem; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.date-badge span { color: var(--text-muted); font-weight: 700; padding-bottom: 6px; }

.tags { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 600; }
.tags .no { color: #be185d; background: #fdf2f8; border-color: #fbcfe8; }

/* ---------- Video ---------- */

.video-phone { width: min(320px, 78vw); margin: 56px auto 0; }
.video-phone .phone { aspect-ratio: 9 / 16; border-radius: 13% / 7.3%; }
.video-phone video { border-radius: 10.5% / 5.9%; background: #000; }

/* ---------- Ocasiones ---------- */

.marquee { margin-top: 48px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  padding: 14px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 1.05rem; white-space: nowrap;
}
.marquee-track span:nth-child(3n + 1) { background: #f5f0ff; border-color: #e4d9ff; }
.marquee-track span:nth-child(3n + 2) { background: #fff1f7; border-color: #fbd5e7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Privacidad ---------- */

.trust { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item .tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: #f1ecff; color: var(--violet-strong); }
.trust-item .tile-ico svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 1.15rem; letter-spacing: -0.015em; margin-top: 18px; line-height: 1.3; }
.trust-item p { color: var(--text-muted); margin-top: 8px; font-size: 0.97rem; }
.text-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 40px; font-weight: 700; color: var(--violet-strong); }
.text-link:hover { text-decoration: underline; }

/* ---------- CTA ---------- */

.cta { overflow: hidden; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 60% at 50% 100%, rgba(139, 92, 246, 0.5), transparent 70%),
    radial-gradient(30% 40% at 85% 80%, rgba(236, 72, 153, 0.3), transparent 70%);
}
.cta .stores { margin-top: 36px; }
.qr {
  display: none; margin: 40px auto 0; width: max-content; align-items: center; gap: 16px;
  padding: 12px 20px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  color: var(--on-dark-muted); font-size: 0.88rem; font-weight: 600; text-align: left;
}
.qr img { width: 76px; height: 76px; border-radius: 10px; background: #fff; }
@media (min-width: 900px) { .qr { display: flex; } }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 64px 0 40px; font-size: 0.92rem; }
.foot { display: grid; gap: 40px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h4 { color: #fff; font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 0.02em; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot .brand { margin-bottom: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; }

/* ---------- Animaciones de entrada ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 0.08s; }
.js [data-reveal="3"] { transition-delay: 0.16s; }

/* Lo de arriba de todo no espera al scroll ni al JS: entra solo al
   cargar, así nunca se ve un inicio vacío. */
.hero [data-reveal], .js .hero [data-reveal] {
  opacity: 1; transform: none; transition: none;
  animation: rise 0.9s var(--ease) both;
}
.hero [data-reveal="2"] { animation-delay: 0.08s; }
.hero [data-reveal="3"] { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
