/* Napsi · portada. Siempre en modo noche: es la identidad de la marca. */
:root {
  --bg: #07081a;
  --bg-2: #0d0f26;
  --surface: rgba(30, 34, 70, 0.55);
  --surface-solid: #161a36;
  --line: rgba(220, 215, 255, 0.1);
  --line-2: rgba(220, 215, 255, 0.18);
  --ink: #f4f1ff;
  --ink-2: #bdb8dc;
  --muted: #8a85ad;
  --accent: #9a8cff;
  --accent-2: #6f60ef;
  --sleep: #a99bff;
  --feed: #ff9a6b;
  --weight: #6ec3ff;
  --medicine: #ff7fbf;
  --gold: #ffd37a;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --display: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.06; font-weight: 750; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
.center { text-align: center; max-width: 18em; margin: 0 auto; }

/* ── cielo ─────────────────────────────────────────────────────────── */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(140% 90% at 80% -10%, #1c1650 0%, transparent 55%), radial-gradient(90% 70% at -10% 30%, #10123a 0%, transparent 60%), linear-gradient(180deg, #090a20 0%, var(--bg) 70%); }
.stars { position: absolute; inset: -50%; background-repeat: repeat; animation: twinkle 6s ease-in-out infinite alternate; }
.s1 { background-image: radial-gradient(1px 1px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 140px 90px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 80px 170px, #fff 50%, transparent 51%), radial-gradient(1px 1px at 190px 220px, #fff 50%, transparent 51%); background-size: 240px 240px; opacity: 0.5; }
.s2 { background-image: radial-gradient(1.5px 1.5px at 60px 60px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 260px 180px, #dcd6ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 170px 310px, #fff 50%, transparent 51%); background-size: 380px 380px; animation-duration: 9s; animation-delay: -3s; opacity: 0.6; }
.s3 { background-image: radial-gradient(2px 2px at 120px 140px, #ffe9b0 50%, transparent 51%), radial-gradient(2px 2px at 420px 60px, #fff 50%, transparent 51%); background-size: 560px 520px; animation-duration: 12s; opacity: 0.8; }
@keyframes twinkle { from { opacity: 0.25; transform: translateY(0); } to { opacity: 0.9; transform: translateY(-14px); } }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 22s ease-in-out infinite alternate; }
.a1 { width: 640px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, #5b45ff 0%, transparent 65%); }
.a2 { width: 560px; height: 480px; left: -200px; top: 420px; background: radial-gradient(circle, #ff6fa8 0%, transparent 65%); opacity: 0.22; animation-duration: 28s; }
@keyframes drift { to { transform: translate(-60px, 60px) scale(1.12); } }

/* ── navegación ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--wrap); margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px 14px;
}
.nav::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; background: rgba(7, 8, 26, 0.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.3s; }
.scrolled .nav::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 750 22px/1 var(--display); letter-spacing: -0.02em; }
.brand img { border-radius: 10px; box-shadow: 0 6px 20px -6px rgba(154, 140, 255, 0.7); }
.links { display: none; gap: 28px; margin-left: auto; }
.links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 550; transition: color 0.2s; }
.links a:hover { color: var(--ink); }
.nav > .btn { margin-left: auto; }

/* ── botones ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  background: linear-gradient(180deg, #a99eff 0%, var(--accent-2) 100%);
  color: #fff; font-weight: 650; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 16px 34px -14px rgba(120, 104, 255, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 22px 40px -14px rgba(120, 104, 255, 1); }
.btn:focus-visible, .store:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.big { padding: 17px 32px; font-size: 18px; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ── portada ───────────────────────────────────────────────────────── */
.hero {
  display: grid; gap: 24px; align-items: center;
  max-width: var(--wrap); margin: 0 auto;
  padding: 28px 16px 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(154, 140, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(154, 140, 255, 0.3);
  color: #d9d3ff; font-size: 14px; font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7dffc4; box-shadow: 0 0 0 4px rgba(125, 255, 196, 0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(125, 255, 196, 0); } }
.hero h1 { font-size: clamp(44px, 8.4vw, 84px); line-height: 0.98; font-weight: 800; margin: 22px 0 22px; }
.shine { background: linear-gradient(100deg, #c4b9ff 0%, #ffffff 30%, #ffc6e0 55%, #a99bff 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 650; font-size: 15px; line-height: 1.1; color: var(--ink); }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--ink-2); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: rgba(125, 255, 196, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.6 11 12 5.5' fill='none' stroke='%237dffc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-art { position: relative; aspect-ratio: 1 / 0.95; max-width: 600px; width: 100%; justify-self: center; }
.halo { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(140, 120, 255, 0.55) 0%, rgba(140, 120, 255, 0.12) 45%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: 0.8; } }
.orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(200, 190, 255, 0.16); animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cuna { position: absolute; inset: 9% 8% auto; width: 84%; filter: drop-shadow(0 40px 60px rgba(30, 10, 90, 0.6)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px; border-radius: 18px;
  background: rgba(24, 27, 60, 0.72); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -18px rgba(0, 0, 0, 0.8);
  font-size: 13px; line-height: 1.25; white-space: nowrap;
  animation: float 8s ease-in-out infinite;
}
.chip img { width: 36px; height: 36px; }
.chip b { display: block; font-size: 14px; }
.chip span { color: var(--ink-2); }
.c1 { left: -2%; top: 10%; animation-delay: -1s; }
.c2 { right: -2%; top: 30%; animation-delay: -3s; }
.c3 { left: 2%; bottom: 14%; animation-delay: -5s; }
.c4 { right: 4%; bottom: 2%; animation-delay: -2s; }
.ring { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#a99bff 0.72turn, rgba(169, 155, 255, 0.18) 0); }
.ring i { width: 26px; height: 26px; border-radius: 50%; background: #1a1d40; }
.ring::after { content: ''; }

/* ── tira ──────────────────────────────────────────────────────────── */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; max-width: var(--wrap); margin: 0 auto; padding: 22px 16px; border-block: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; }

/* ── funciones ─────────────────────────────────────────────────────── */
.feature { display: grid; gap: 28px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 72px 16px 24px; }
.feature-art { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.feature-art img { position: relative; filter: drop-shadow(0 30px 50px rgba(20, 10, 70, 0.55)); }
.halo.small { inset: 6%; }
.halo.warm { background: radial-gradient(circle, rgba(255, 150, 110, 0.4) 0%, transparent 65%); }
.halo.mint { background: radial-gradient(circle, rgba(110, 200, 255, 0.38) 0%, transparent 65%); }
.halo.rose { background: radial-gradient(circle, rgba(255, 120, 190, 0.38) 0%, transparent 65%); }
.feature-copy > p:not(.kicker) { color: var(--ink-2); font-size: 18px; margin-top: 16px; max-width: 30em; }
.k-sleep { --k: var(--sleep); }
.k-feed { --k: var(--feed); }
.k-weight { --k: var(--weight); }
.k-medicine { --k: var(--medicine); }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--k); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.card { margin-top: 28px; padding: 18px; border-radius: 24px; background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.8); max-width: 440px; }

.plan-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 10px 6px 10px 0; }
.plan-row + .plan-row { border-top: 1px solid var(--line); }
.plan-row .t { width: 52px; text-align: right; font: 650 15px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-row .b { flex: 1; display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.plan-row em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 14px; }
.plan-row .b::before { content: ''; position: absolute; left: 64px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: rgba(169, 155, 255, 0.25); }
.plan-row .b { padding-left: 22px; }
.plan-row.done .b { color: var(--ink-2); }
.plan-row.done .b::before { background: var(--sleep); }
.plan-row.now { margin: 4px -10px; padding-left: 10px; padding-right: 10px; border-radius: 14px; background: rgba(169, 155, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(169, 155, 255, 0.35); }
.plan-row.now + .plan-row { border-top-color: transparent; }
.plan-row.now .t { color: var(--ink); }
.plan-row.now em { color: #d4ccff; font-weight: 650; }
.plan-row.now .b::before { left: 74px; background: #fff; box-shadow: 0 0 0 5px rgba(169, 155, 255, 0.35); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 9px rgba(169, 155, 255, 0); } }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 440px; }
.tile { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.tile img { grid-row: span 2; }
.tile b { font-size: 16px; line-height: 1.2; }
.tile span { color: var(--muted); font-size: 13px; line-height: 1.3; }

.growth svg { width: 100%; height: auto; }
.draw { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2.2s var(--ease) 0.3s; }
.in .draw { stroke-dashoffset: 0; }
.growth-legend { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.growth-legend b { font: 750 26px/1 var(--display); }
.growth-legend span { color: var(--ink-2); font-size: 14px; }

.avatars { display: flex; align-items: center; margin-top: 28px; }
.avatars span { width: 46px; height: 46px; margin-right: -10px; border-radius: 50%; display: grid; place-items: center; font: 750 17px/1 var(--display); color: #fff; background: linear-gradient(160deg, hsl(var(--h) 80% 70%), hsl(var(--h) 65% 48%)); box-shadow: 0 0 0 3px var(--bg); }
.avatars .h1 { --h: 250; }
.avatars .h2 { --h: 15; }
.avatars .h3 { --h: 160; }
.avatars em { margin-left: 24px; font-style: normal; color: var(--ink-2); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.avatars em::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #7dffc4; box-shadow: 0 0 0 4px rgba(125, 255, 196, 0.18); }

/* ── rejilla ───────────────────────────────────────────────────────── */
.grid-section { max-width: var(--wrap); margin: 0 auto; padding: 96px 16px 24px; }
.grid { display: grid; gap: 14px; margin-top: 40px; }
.grid article { padding: 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(40, 44, 92, 0.5), rgba(24, 27, 60, 0.4)); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.grid article:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 50px -30px rgba(120, 104, 255, 0.6); }
.grid img { margin-bottom: 14px; }
.grid p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }

/* ── planes ────────────────────────────────────────────────────────── */
.pricing { max-width: 960px; margin: 0 auto; padding: 110px 16px 24px; }
.pricing h2 { max-width: 16em; }
.plans { display: grid; gap: 16px; margin-top: 44px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 28px; background: rgba(24, 27, 60, 0.6); box-shadow: inset 0 0 0 1px var(--line); }
.plan-card.best { background: linear-gradient(180deg, rgba(111, 96, 239, 0.32), rgba(40, 30, 110, 0.35)); box-shadow: inset 0 0 0 1px rgba(169, 155, 255, 0.45), 0 40px 80px -40px rgba(120, 104, 255, 0.9); }
.badge { position: absolute; top: -13px; left: 26px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #ffd37a, #ffb38a); color: #3a2400; font-size: 13px; font-weight: 750; }
.price { font: 800 34px/1.1 var(--display); margin: 10px 0 18px; }
.price span { font: 500 15px/1 var(--font); color: var(--muted); }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.plan-card li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.plan-card li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(169, 155, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.6 11 12 5.5' fill='none' stroke='%23c9c0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.best li { color: var(--ink); }

/* ── preguntas ─────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; padding: 110px 16px 24px; }
.faq h2 { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 4px; font: 650 19px/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--ink-2); font: 400 22px/1 var(--font); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding: 0 4px 22px; max-width: 40em; }

/* ── cierre ────────────────────────────────────────────────────────── */
.final { display: grid; gap: 10px; align-items: center; justify-items: center; text-align: center; max-width: 980px; margin: 110px auto 0; padding: 36px 20px 44px; border-radius: 36px; background: radial-gradient(120% 120% at 50% 0%, rgba(120, 100, 255, 0.35), rgba(20, 22, 54, 0.6) 60%); box-shadow: inset 0 0 0 1px rgba(169, 155, 255, 0.28); }
.final img { width: min(320px, 80%); filter: drop-shadow(0 24px 40px rgba(20, 10, 70, 0.6)); animation: float 8s ease-in-out infinite; }
.final p { color: var(--ink-2); font-size: 18px; margin: 12px 0 26px; }

.foot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 16px max(28px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.foot .brand { font-size: 18px; color: var(--ink); }
.foot .brand img { border-radius: 8px; }

/* ── aparición al hacer scroll (solo si hay JS) ───────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── escritorio ────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav { padding-inline: 32px; }
  .links { display: flex; }
  .nav > .btn { margin-left: 8px; }
  .hero { grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 56px 32px 72px; min-height: calc(100vh - 70px); }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; padding: 110px 32px 24px; }
  .feature.flip .feature-art { order: 2; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .grid-section, .pricing, .faq { padding-inline: 32px; }
  .final { grid-template-columns: 0.9fr 1.1fr; text-align: left; justify-items: start; padding: 48px 56px; gap: 40px; }
  .final img { width: 100%; }
  .foot { flex-direction: row; justify-content: space-between; max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
}
@media (max-width: 420px) {
  .chip { padding: 7px 11px 7px 7px; font-size: 12px; border-radius: 15px; }
  .chip img, .ring { width: 30px; height: 30px; }
  .ring i { width: 21px; height: 21px; }
  .chip b { font-size: 13px; }
  .c1 { left: -1%; top: 4%; }
  .c2 { right: -1%; top: 34%; }
  .c3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}
