.glow { position: fixed; z-index: -1; width: 46rem; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: 0.32; pointer-events: none; }
.glow-1 { background: var(--cian); top: -18rem; right: -10rem; animation: drift 18s ease-in-out infinite alternate; }
.glow-2 { background: var(--ambar); bottom: -26rem; left: -14rem; opacity: 0.18; animation: drift 22s ease-in-out infinite alternate-reverse; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; padding: clamp(2rem, 1rem + 4vw, 5rem) var(--gutter) 5rem; min-height: calc(100svh - 9rem); }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem 0.35rem 0.4rem; border-radius: 999px; background: rgb(238 242 241 / 0.07); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.12); font-size: 0.9375rem; color: var(--texto-2); }
.pill-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; margin-left: 0.4rem; background: var(--tornasol); }
h1 { margin-top: 1.4rem; font-family: "Anybody", sans-serif; font-weight: 800; font-stretch: 92%; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 15ch; }
.lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--texto-2); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.proof { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2.6rem; color: var(--texto-2); font-size: 0.9375rem; }
.proof strong { display: block; font-family: "Anybody", sans-serif; font-stretch: 100%; font-size: 1.55rem; line-height: 1.1; background: var(--tornasol); -webkit-background-clip: text; background-clip: text; color: transparent; }

.stage { position: relative; aspect-ratio: 1.05; }
.browser { position: absolute; inset: 8% 2% 18% 6%; border-radius: 1rem; background: #f5f6f4; box-shadow: 0 2rem 4rem -1rem rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.08); animation: float 7s ease-in-out infinite; }
.browser-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; background: #e6e9e7; border-radius: 1rem 1rem 0 0; }
.browser-bar i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #c8cfcc; }
.browser-bar i:first-child { background: #ff6159; }
.url { margin-left: 0.8rem; flex: 1; padding: 0.2rem 0.8rem; border-radius: 999px; background: #fff; color: #4a5b58; font-size: 0.8125rem; }
.screens { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 1rem 1rem; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity 700ms var(--ease), transform 4s linear; }
.screens img.active { opacity: 1; transform: scale(1); }

.chart { position: absolute; left: -2%; top: 52%; width: 13rem; padding: 1rem 1.1rem; border-radius: 1rem; background: rgb(18 38 44 / 0.88); backdrop-filter: blur(10px); box-shadow: 0 1rem 2.5rem -0.5rem rgb(0 0 0 / 0.55), inset 0 0 0 1px rgb(238 242 241 / 0.1); animation: float 8s ease-in-out -2s infinite; }
.chart p { font-size: 0.8125rem; color: var(--texto-2); }
.chart strong { font-family: "Anybody", sans-serif; font-stretch: 110%; font-size: 1.6rem; color: var(--verde); }
.chart svg { width: 100%; height: 3rem; margin-top: 0.3rem; }
.chart path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2.4s var(--ease) 0.6s forwards; }

.phone { position: absolute; right: -1%; bottom: 0; width: 14.5rem; height: 19rem; padding: 0.8rem; border-radius: 1.8rem; background: #0e1d22; box-shadow: 0 1.5rem 3rem -0.5rem rgb(0 0 0 / 0.7), inset 0 0 0 2px rgb(238 242 241 / 0.14); animation: float 9s ease-in-out -4s infinite; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgb(238 242 241 / 0.1); font-size: 0.8125rem; font-weight: 700; }
.avatar { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tornasol); }
.chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.45rem; height: calc(100% - 2.4rem); padding-top: 0.6rem; }
.msg { max-width: 85%; padding: 0.45rem 0.7rem; border-radius: 0.9rem; font-size: 0.8125rem; line-height: 1.35; animation: pop 350ms var(--ease) both; }
.msg.in { align-self: flex-start; background: #1f3a40; border-bottom-left-radius: 0.2rem; }
.msg.out { align-self: flex-end; background: #1f6f5c; border-bottom-right-radius: 0.2rem; }

.toasts { position: absolute; top: 0; right: 4%; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.toast { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; border-radius: 0.8rem; background: rgb(238 242 241 / 0.96); color: #0b1a1f; font-size: 0.875rem; box-shadow: 0 0.8rem 2rem -0.5rem rgb(0 0 0 / 0.6); animation: toast 4.2s var(--ease) both; }
.toast b { font-weight: 800; }
.toast .ico { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 0.5rem; color: #fff; font-size: 0.8rem; }

@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes drift { to { transform: translate(-6rem, 4rem) scale(1.15); } }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 76% { transform: translateY(-14px) rotate(-6deg); } 84% { transform: translateY(0) rotate(0); } 88% { transform: translateY(-6px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
@keyframes toast { 0% { opacity: 0; transform: translateX(20px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .stage { max-width: 34rem; width: 100%; margin-inline: auto; }
  .phone { width: 11.5rem; height: 15rem; }
  .chart { width: 10.5rem; }
}

/* Página de muestra dentro del navegador */
.demo { aspect-ratio: 16 / 10; border-radius: 0 0 1rem 1rem; overflow: hidden; background: #fbfaf7; color: #1d2b2e; display: grid; grid-template-rows: auto auto 1fr; font-size: clamp(0.55rem, 0.4rem + 0.35vw, 0.8rem); }
.demo-nav { display: flex; align-items: center; gap: 1.2em; padding: 0.9em 1.4em; border-bottom: 1px solid #ece8df; }
.demo-nav b { margin-right: auto; font-family: "Anybody", sans-serif; font-size: 1.25em; }
.demo-nav span { color: #6b7a76; }
.cart { font-style: normal; padding: 0.3em 0.8em; border-radius: 999px; background: #1d2b2e; color: #fff; }
.cart em { font-style: normal; display: inline-block; min-width: 1.4em; margin-left: 0.3em; padding: 0 0.3em; border-radius: 999px; background: var(--ambar); color: #1d2b2e; text-align: center; font-weight: 700; }
.cart.bump em { animation: bump 450ms var(--ease); }
.demo-hero { margin: 1em 1.4em 0; padding: 1.6em 1.6em; border-radius: 0.9em; background: linear-gradient(120deg, #1f4a45, #2c6a5c 55%, #d9a441); color: #fff; display: grid; gap: 0.4em; justify-items: start; }
.demo-hero p { font-size: 0.85em; opacity: 0.8; }
.demo-hero strong { font-family: "Anybody", sans-serif; font-size: 1.7em; line-height: 1.05; max-width: 16ch; }
.demo-hero span { margin-top: 0.4em; padding: 0.45em 1em; border-radius: 999px; background: #fff; color: #1d2b2e; font-weight: 700; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; padding: 1em 1.4em 1.2em; }
.demo-grid div { display: grid; gap: 0.25em; align-content: start; }
.demo-grid em { font-style: normal; font-weight: 700; color: #1f6f5c; }
.ph { height: 4.6em; border-radius: 0.6em; }
.ph-1 { background: linear-gradient(135deg, #f6d38a, #e7a24f); }
.ph-2 { background: linear-gradient(135deg, #bfe3d8, #6cb8a8); }
.ph-3 { background: linear-gradient(135deg, #e9d9c4, #b9957a); }
@keyframes bump { 40% { transform: scale(1.5); } }
