/* Portada: misma paleta y contenido; detalles gráficos y entrada suave. */
.hero{background:#fff;padding-bottom:46px}
.hero:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:10px;background:repeating-linear-gradient(90deg,var(--red) 0 11px,var(--pink) 11px 22px);z-index:4}
.product-scene{isolation:isolate;max-width:1000px;margin-top:30px}
.product-scene:before{content:"";position:absolute;inset:-9% -30vw -11%;z-index:-1;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 47px,#e5b4dc55 47px 48px);mask-image:linear-gradient(transparent,#000 22%,#000 76%,transparent)}
.hardware-group{filter:none}
.real-product{transform-origin:50% 85%;animation:hero-devices-enter 950ms cubic-bezier(.2,.7,.2,1) both}
.hero-spark{position:absolute;z-index:5;display:block;pointer-events:none;line-height:0;animation:hero-spark-spin 24s linear infinite}
.hero-spark svg{display:block;width:100%;height:100%}
.hero-spark-lime{width:82px;height:82px;right:2%;top:0;color:var(--lime);filter:drop-shadow(0 1px 0 #b4ca35)}
.hero-spark-red{width:46px;height:46px;left:3%;top:25%;color:var(--red);animation-duration:32s;animation-direction:reverse}
.hero-proof{position:relative;z-index:2}
.hero-action{position:relative;z-index:2}
@keyframes hero-devices-enter{from{opacity:0;transform:translateY(38px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes hero-spark-spin{to{transform:rotate(360deg)}}
html.is-capture .real-product{animation:none}
html.is-capture .hero-spark{animation:none}
@media(max-width:800px){
 .launch-bar>a{flex-direction:column;gap:8px;padding:12px 18px 13px;min-height:102px}
 .launch-label{font-size:14px;line-height:1.35;max-width:none}
 .countdown{gap:11px}
 .countdown>span{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:29px}
 .countdown b{font-size:26px;line-height:1}
 .countdown small{font-size:11px;line-height:1.2}
 .countdown i{font-size:14px;align-self:flex-start;margin-top:5px}
 .hero{background:#fff;padding:29px 20px 40px}
 .product-scene{margin-top:29px;margin-bottom:21px}
 .product-scene:before{inset:-10% -20px -12%;background-size:auto; background-image:repeating-linear-gradient(90deg,transparent 0 31px,#e5b4dc66 31px 32px)}
 .hero-spark-lime{width:42px;height:42px;right:0;top:-3%}
 .hero-spark-red{width:25px;height:25px;left:0;top:23%}
 .hero-proof{margin-top:17px}
}
@media(prefers-reduced-motion:reduce){.real-product,.hero-spark{animation:none}}

/* Líneas horizontales suaves detrás de los dispositivos. */
.product-scene:before{content:"";display:block;background-image:repeating-linear-gradient(0deg,transparent 0 47px,#e5b4dc55 47px 48px)}
@media(max-width:800px){.product-scene:before{background-image:repeating-linear-gradient(0deg,transparent 0 31px,#e5b4dc66 31px 32px)}}

/* Redes e IA: logos reconocibles, fuera del contenido de las pantallas. */
.hero-platforms{position:absolute;inset:0;z-index:6;pointer-events:none}
.hero-platform{position:absolute;display:grid;place-items:center;width:58px;height:58px;border-radius:17px;box-shadow:0 5px 14px #20201f0c;border:1px solid #ded8d2;color:var(--ink);background:#fff}
.hero-platform svg{width:30px;height:30px;display:block}
.hero-platform-instagram{left:4%;top:8%;background:var(--pink);border-color:var(--pink-border);color:var(--red)}
.hero-platform-tiktok{left:57%;bottom:4%;background:var(--red);border-color:#a62b25;color:#fff}
.hero-platform-openai{right:0;top:28%;background:var(--lime);border-color:var(--lime-border)}
@media(max-width:800px){
 .hero-platform{width:34px;height:34px;border-radius:10px;box-shadow:0 3px 8px #20201f0a}
 .hero-platform svg{width:20px;height:20px}
 .hero-platform-instagram{left:0;top:9%}
 .hero-platform-tiktok{left:56%;bottom:-2%}
 .hero-platform-openai{right:0;top:25%}
}
/* Más presencia de los colores de marca. */
.hero-spark-lime{width:112px;height:112px;right:0;top:-5%}
.courses .highlight.lilac:before{background:var(--lime);border-color:var(--lime-border)}
.for-you{background:var(--lime)}
.sales-intro>div:first-child .small-tag{background:var(--lime);border-color:var(--lime-border)}
@media(max-width:800px){
 .hero-spark-lime{width:57px;height:57px;right:-3px;top:-6%}
 .for-you{background:var(--lime)}
}
/* Logos de marca en volumen, sin las tarjetas de la landing. */
.hero-platform{width:90px;height:90px;background:none;border:0;box-shadow:none;border-radius:0;color:inherit}
.hero-platform img{width:100%;height:100%;object-fit:contain;display:block}
.hero-platform-instagram{left:11%;top:20%}
.hero-platform-openai{right:6%;top:44%}
.hero-platform-tiktok{left:44%;bottom:11%}
.hero-spark-lime{right:12%;top:0}
.hero-spark-red{left:10%;top:44%}
/* Cada dispositivo se despliega desde el centro del conjunto. */
.real-product{animation:none}
.deploy-device{position:absolute;inset:0;transform-origin:50% 50%;animation-fill-mode:both;animation-timing-function:cubic-bezier(.2,.75,.2,1);animation-iteration-count:1}
.device-hardware{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.deploy-imac{z-index:1;animation-name:deploy-imac;animation-duration:600ms}
.deploy-laptop{z-index:2;animation-name:deploy-laptop;animation-duration:900ms;animation-delay:450ms}
.deploy-ipad{z-index:3;animation-name:deploy-ipad;animation-duration:900ms;animation-delay:650ms}
.deploy-phone{z-index:4;animation-name:deploy-phone;animation-duration:850ms;animation-delay:850ms}
.hardware-imac{clip-path:polygon(16% 3%,84% 3%,84% 39.4%,67.5% 39.4%,67.5% 94%,46% 94%,46% 48%,16% 48%)}
.hardware-laptop{clip-path:polygon(5% 48%,45.6% 48%,45.6% 86%,49.5% 94%,49.5% 99%,0 99%,0 92%,5% 86%)}
.hardware-ipad{clip-path:polygon(67.4% 39.4%,92% 39.4%,92% 61%,84.6% 61%,84.6% 95%,67.4% 95%)}
.hardware-phone{clip-path:polygon(84.6% 60.5%,96.5% 60.5%,96.5% 98%,84.6% 98%)}
.deploy-imac .screen-imac,.deploy-ipad .screen-ipad{clip-path:none}
.imac-rear-screen{position:absolute;left:16.65%;top:5.86%;width:66.4%;height:57.2%;border-radius:3% 3% 0 0;background:linear-gradient(135deg,#161616,#030303);box-shadow:0 1px 1px #bbb inset}
.imac-rear-chin{position:absolute;left:16.65%;top:63%;width:66.4%;height:9.5%;border-radius:0 0 2% 2%;background:linear-gradient(105deg,#b0b0b0,#dedede 48%,#9d9d9d)}
.imac-rear-neck{position:absolute;left:44.8%;top:72.3%;width:14%;height:13.8%;background:linear-gradient(#aaa,#777 22%,#d4d4d4 75%,#aaa);clip-path:polygon(19% 0,78% 0,100% 100%,0 100%)}
.imac-rear-foot{position:absolute;left:43.8%;top:85.4%;width:17%;height:1.5%;border-radius:25% 25% 15% 15%;background:linear-gradient(#ddd,#999);box-shadow:0 3px 4px #0002}
.ipad-rear-body{position:absolute;left:67.7%;top:39.8%;width:23.7%;height:50%;border:1px solid #aaa;border-radius:7%;background:#101010}
@keyframes deploy-imac{from{opacity:0;transform:translateY(12px) scale(.87)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes deploy-laptop{from{opacity:0;transform:translate(18%,-16%) scale(.72)}to{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes deploy-ipad{from{opacity:0;transform:translate(-25%,-11%) scale(.7)}to{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes deploy-phone{from{opacity:0;transform:translate(-30%,-19%) scale(.75)}to{opacity:1;transform:translate(0,0) scale(1)}}
html.is-capture .deploy-device{animation:none}
@media(max-width:800px){
 .hero-platform{width:48px;height:48px;background:none;border:0;box-shadow:none}
 .hero-platform-instagram{left:10%;top:23%}
 .hero-platform-openai{right:4%;top:44%}
 .hero-platform-tiktok{left:44%;bottom:10%}
 .hero-spark-lime{right:12%;top:0}
 .hero-spark-red{left:10%;top:44%}
}
@media(prefers-reduced-motion:reduce){.deploy-device{animation:none}}
/* El recorte del iMac excluye las esquinas de los dispositivos del frente. */
.hardware-imac{clip-path:polygon(16% 3%,84% 3%,84% 39.4%,67.5% 39.4%,67.5% 94%,49% 94%,49% 48%,16% 48%)}

/* Portada limpia, con una etiqueta sobre la formación continua. */
.product-scene:before{content:none;display:none}
.hero-course-label{position:absolute;z-index:6;left:9%;top:-3%;display:inline-flex;align-items:center;padding:10px 17px;border:1px solid var(--pink-border);border-radius:100px;background:var(--pink);color:var(--red);font-size:16px;font-weight:800;line-height:1.3;white-space:nowrap;box-shadow:0 3px 9px #20201f08}
@media(max-width:800px){.hero-course-label{left:8%;top:-4%;font-size:12px;padding:8px 12px}}

/* Etiqueta de cursos en verde lima. */
.hero-course-label{background:var(--lime);border-color:var(--lime-border);color:var(--ink)}

/* Etiqueta rosada con una inclinación leve y asterisco verde lima. */
.hero-course-label{background:var(--pink);border-color:var(--pink-border);color:var(--red);transform:rotate(-4deg)}
.hero-spark-red{color:var(--lime);filter:drop-shadow(0 1px 0 #b4ca35)}

/* El texto se mueve dentro de la pastilla; la pastilla se queda en su sitio. */
.hero-course-label{padding:10px 0;overflow:hidden;width:236px;display:block}
.course-label-window{display:block;width:100%;overflow:hidden}
.course-label-track{display:flex;width:max-content;animation:course-label-left 12s linear infinite;will-change:transform}
.course-label-track>span{display:block;flex-shrink:0;white-space:nowrap;padding-right:28px}
@keyframes course-label-left{to{transform:translateX(-33.333333%)}}
@media(max-width:800px){.hero-course-label{width:172px;padding:8px 0}.course-label-track>span{padding-right:24px}}
@media(prefers-reduced-motion:reduce){.course-label-track{animation:none}.course-label-track>span{padding-left:12px}}
.course-label-window{width:calc(100% - 24px);margin:0 12px}
@media(prefers-reduced-motion:reduce){.course-label-track>span{padding-left:0}}

/* Separador pequeño entre las repeticiones del texto. */
.course-label-track>span{display:flex;align-items:center;gap:12px;padding-right:12px}
.course-label-dot{display:block;width:3px;height:3px;flex:0 0 3px;border-radius:50%;background:currentColor;opacity:.75}

/* Recortes siguiendo las siluetas reales, sin restos del dispositivo de atrás. */
.device-cutout-defs{position:absolute;overflow:hidden;pointer-events:none}
.hardware-ipad{clip-path:url(#hero-ipad-silhouette)}
.hardware-phone{clip-path:url(#hero-phone-silhouette)}
.ipad-rear-body{left:67.64%;top:39.65%;width:23.76%;height:50.75%;border-radius:8.7% / 6.2%}
.deploy-ipad,.deploy-phone{filter:drop-shadow(0 2px 2px #00000017)}
@keyframes deploy-laptop{0%{opacity:0;transform:translate(18%,-16%) scale(.72)}2%{opacity:1}100%{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes deploy-ipad{0%{opacity:0;transform:translate(-25%,-11%) scale(.7)}2%{opacity:1}100%{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes deploy-phone{0%{opacity:0;transform:translate(-30%,-19%) scale(.75)}2%{opacity:1}100%{opacity:1;transform:translate(0,0) scale(1)}}

/* Recorte fotográfico de María Paula junto al grupo de dispositivos. */
.hero-face-sticker{position:absolute;z-index:7;left:49.5%;bottom:1%;width:16%;aspect-ratio:486/762;transform:rotate(5deg);pointer-events:none;isolation:isolate;filter:drop-shadow(0 3px 3px #00000013)}
.hero-face-sticker img{position:absolute;max-width:none;width:258.0247%;height:auto;left:-78.8066%;top:-32.1522%;display:block}
@media(max-width:800px){.hero-face-sticker{left:49.8%;bottom:1%;width:16.2%}}

/* Solo cambia el ojo que guiña; el resto del recorte queda fijo. */
.face-eye-open{-webkit-mask-image:radial-gradient(ellipse 7% 4.8% at 58.6% 46.4%,#000 68%,transparent 100%);mask-image:radial-gradient(ellipse 7% 4.8% at 58.6% 46.4%,#000 68%,transparent 100%);animation:face-wink-eye 3.8s ease-in-out infinite;opacity:1}
@keyframes face-wink-eye{0%,64%{opacity:1}69%,79%{opacity:0}84%,100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.face-eye-open{animation:none;opacity:0}}

/* Tres propuestas de ubicación; el contorno rosa es fino y no tiñe la piel. */
html[data-face-option] .hero-face-sticker{filter:drop-shadow(.6px 0 0 #e5b4dc) drop-shadow(-.6px 0 0 #e5b4dc) drop-shadow(0 .6px 0 #e5b4dc) drop-shadow(0 -.6px 0 #e5b4dc)}
html.is-capture[data-face-option] .face-eye-open{animation:none;opacity:0}
html[data-face-option="1"] .real-product{z-index:2}
html[data-face-option="1"] .hero-face-sticker{z-index:1;left:2%;top:20%;bottom:auto;width:16%;transform:rotate(-8deg)}
html[data-face-option="2"] .hero-face-sticker{left:80%;top:2%;bottom:auto;width:16%;transform:rotate(7deg)}
html[data-face-option="2"] .hero-spark-lime{right:22%;top:-3%}
html[data-face-option="3"] .hero-action{margin-top:64px}
html[data-face-option="3"] .hero-action .hero-face-sticker{left:calc(50% + 95px);top:-52px;bottom:auto;width:104px;transform:rotate(7deg)}
@media(max-width:800px){
 html[data-face-option="1"] .hero-face-sticker{width:16.2%;left:2%;top:20%}
 html[data-face-option="2"] .hero-face-sticker{width:16.2%;left:80%;top:2%}
 html[data-face-option="3"] .hero-action{margin-top:42px}
 html[data-face-option="3"] .hero-action .hero-face-sticker{left:calc(50% + 94px);top:-29px;width:68px}
}

/* Opción elegida: la cabeza tapa ligeramente una punta de la estrella. */
html[data-face-option="2"] .hero-spark-lime{right:16%;top:0;z-index:5}
html[data-face-option="2"] .hero-face-sticker{z-index:7;transform-origin:50% 65%;animation:face-fixed-sway 5s ease-in-out infinite}
@keyframes face-fixed-sway{0%,100%{transform:rotate(4deg)}50%{transform:rotate(10deg)}}
@media(prefers-reduced-motion:reduce){html[data-face-option="2"] .hero-face-sticker{animation:none;transform:rotate(7deg)}}

/* Rostro y estrella anclados juntos al vértice superior derecho del iMac. */
.hero-corner-pair{position:absolute;z-index:7;left:83.05%;top:5.86%;width:28%;aspect-ratio:1;transform:translate(-52%,-50%);pointer-events:none}
html[data-face-option="2"] .hero-corner-pair .hero-spark-lime{left:2%;right:auto;top:29%;width:40%;height:auto;aspect-ratio:1;z-index:1}
html[data-face-option="2"] .hero-corner-pair .hero-face-sticker{left:38%;right:auto;top:3%;bottom:auto;width:57.14%;z-index:2;animation:face-corner-sway 5s ease-in-out infinite}
@keyframes face-corner-sway{0%,100%{transform:rotate(7deg)}50%{transform:rotate(13deg)}}
@media(max-width:800px){
 .hero-corner-pair{width:30.85%;aspect-ratio:108/110;transform:translate(-50%,-50%)}
 html[data-face-option="2"] .hero-corner-pair .hero-spark-lime{left:2%;top:25%;width:53%}
 html[data-face-option="2"] .hero-corner-pair .hero-face-sticker{left:41%;top:8%;width:53%}
}
@media(prefers-reduced-motion:reduce){html[data-face-option="2"] .hero-corner-pair .hero-face-sticker{animation:none;transform:rotate(10deg)}}
/* Herramienta de colocación visible solo en la revisión local. */
.hero-position-editing .hero-corner-pair{left:calc(83.05% + var(--editor-x,0%));top:calc(5.86% + var(--editor-y,0%));pointer-events:auto;cursor:grab;touch-action:none;outline:2px dashed #be342c80;outline-offset:7px;border-radius:12px}
.hero-position-editing .hero-corner-pair.is-dragging{cursor:grabbing;outline-color:#be342c}
.hero-position-editing .hero-corner-pair .hero-face-sticker,.hero-position-editing .hero-corner-pair .hero-spark{animation-play-state:paused}
.hero-position-panel{position:fixed;right:16px;bottom:16px;z-index:1000;width:310px;background:#fff;border:1px solid #e5b4dc;border-radius:16px;padding:15px;box-shadow:0 5px 24px #00000016;font-size:14px;line-height:1.5;color:#20201f}
.hero-position-panel p{font-size:14px;font-weight:700;margin:0 0 10px;letter-spacing:0}
.hero-position-panel>div{display:flex;gap:8px}
.hero-position-panel button{padding:9px 12px;border:1px solid #cddd4a;border-radius:30px;background:#e6fa5a;font-size:13px;font-weight:700;line-height:1.4;min-height:40px}
.hero-position-panel .reset-position{background:#fff;border-color:#ddd}
.position-status{display:block;margin-top:9px;color:#615d58;font-size:12px;line-height:1.5}
@media(max-width:800px){.hero-position-panel{width:auto;left:12px;right:12px;bottom:12px;padding:12px}.hero-position-panel p{margin-bottom:8px}.hero-position-panel>div{justify-content:center}.hero-position-panel p,.position-status{text-align:center}}
/* Cada elemento se arrastra por separado, sin mover el contenedor. */
.hero-position-editing .hero-corner-pair{pointer-events:none;outline:0;cursor:default}
.hero-position-editing .hero-corner-pair .hero-face-sticker,.hero-position-editing .hero-corner-pair .hero-spark-lime{pointer-events:auto;touch-action:none;cursor:grab;outline:2px dashed #be342c80;outline-offset:4px;border-radius:9px;user-select:none}
.hero-position-editing .hero-corner-pair .hero-spark-lime{outline-color:#829522}
.hero-position-editing .hero-corner-pair .is-dragging{cursor:grabbing;outline-style:solid}
.hero-position-editing .hero-corner-pair img,.hero-position-editing .hero-corner-pair svg{pointer-events:none;user-select:none;-webkit-user-drag:none}
/* Posiciones guardadas desde el editor de colocación. */
.hero-corner-pair{left:calc(83.05% + var(--chosen-x,0%));top:calc(5.86% + var(--chosen-y,0%))}
.hero-position-editing .hero-corner-pair{left:calc(83.05% + var(--editor-x,0%));top:calc(5.86% + var(--editor-y,0%))}

/* Los dispositivos permanecen quietos; el resto de animaciones sigue activo. */
.deploy-device{animation:none;transform:none;opacity:1}
/* Colores originales de los bloques señalados en IMG_1477 e IMG_1478. */
.for-you{background:#f2f8ce}
.for-you .not-needed{background:var(--pink);border-color:var(--pink-border)}
.included .presale-note{background:#fff3f7;border-color:#edc9d8}
.included .presale-note .presale-billing{border-color:#e9ccd8}
.included .benefit-wide{background:var(--pink);border-color:var(--pink-border)}
@media(max-width:800px){.for-you{background:#f2f8ce}}

/* Disposición estable: sin mediciones JavaScript ni translate individuales. */
.scene-layout-anchor{display:block;width:100%;height:auto;visibility:hidden;pointer-events:none}
.product-scene{height:auto}
.real-product{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
html[data-face-option="2"] .hero-corner-pair{display:block;left:62.892%;top:-10.674%;width:28%;height:42%;aspect-ratio:auto;transform:none;translate:none}
html[data-face-option="2"] .hero-corner-pair .hero-face-sticker{left:37.264286%;top:13.178571%;right:auto;bottom:auto;width:57.14%;height:89.589877%;aspect-ratio:auto;translate:none}
html[data-face-option="2"] .hero-corner-pair .hero-spark-lime{left:18%;top:13.559524%;right:auto;bottom:auto;width:40%;height:40%;aspect-ratio:auto;translate:none}
@media(max-width:800px){
 html[data-face-option="2"] .hero-corner-pair{left:62.027%;top:-13.239972%;width:30.85%;height:47.131944%;aspect-ratio:auto;transform:none;translate:none}
 html[data-face-option="2"] .hero-corner-pair .hero-face-sticker{left:40.332253%;top:17.070281%;width:53%;height:81.587879%;aspect-ratio:auto;translate:none}
 html[data-face-option="2"] .hero-corner-pair .hero-spark-lime{left:16.52188%;top:11.240754%;width:53%;height:52.036364%;aspect-ratio:auto;translate:none}
}
