/* Pagina de descarga (descargar/index.html). */

/* --- Las luces de salida: se encienden de una en una y se apagan --- */
.dl-hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; text-align: center; }
.dl-hero::after { content: ""; position: absolute; left: 50%; top: 30%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(225, 6, 0, 0.25), transparent 60%); z-index: -1; pointer-events: none; }
.dl-hero__lights { display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px); margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.dl-hero__lights i { width: clamp(30px, 6vw, 54px); aspect-ratio: 1; border-radius: 50%; background: #1d0605; border: 3px solid #26262f;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8); animation: lights 5s infinite; }
.dl-hero__lights i:nth-child(2) { animation-delay: 0.6s; }
.dl-hero__lights i:nth-child(3) { animation-delay: 1.2s; }
.dl-hero__lights i:nth-child(4) { animation-delay: 1.8s; }
.dl-hero__lights i:nth-child(5) { animation-delay: 2.4s; }
@keyframes lights {
  0%, 2% { background: #1d0605; box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8); }
  4%, 60% { background: var(--red-hot); box-shadow: 0 0 30px var(--red), inset 0 0 8px rgba(255, 255, 255, 0.4); }
  62%, 100% { background: #1d0605; box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8); }
}
.dl-hero__in { display: flex; flex-direction: column; align-items: center; }
.dl-hero__in .kicker::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--red-hot); }
.dl-hero__h1 { font: 400 clamp(3.2rem, 9vw, 7.2rem)/0.9 var(--display); text-transform: uppercase; margin: 1.2rem 0 1.4rem; }
.dl-hero__h1 em { font-style: normal; color: var(--red-hot); }
.dl-hero .lead { margin: 0 auto; }
.dl-card { margin-top: 2.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.dl-card__btn { font-size: 1.15rem; padding: 1.6rem 2.8rem; box-shadow: 0 20px 60px -15px rgba(225, 6, 0, 0.8); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 20px 80px -10px rgba(225, 6, 0, 1); } }
.dl-card__meta { font: 500 0.78rem var(--mono); color: var(--mute); letter-spacing: 0.04em; }
.dl-hero__after { margin-top: 1.4rem; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .dl-hero__lights i, .dl-card__btn { animation: none; } }

/* --- Pasos --- */
.steps { list-style: none; padding: 0; margin: 2.8rem 0 0; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: 5.2rem 1fr; column-gap: 1.4rem; padding: 1.6rem; background: var(--ink-1); border: 1px solid var(--line); }
.step > * { grid-column: 2; }
.step__n { grid-column: 1; grid-row: 1 / span 6; font: 400 4rem/0.9 var(--display); color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.step h3 { font: 600 1.35rem var(--ui); margin: 0 0 0.4rem; }
.step p { color: var(--mute); margin: 0; }
.step b { color: var(--bone); }
.step code { font: 500 0.9em var(--mono); color: var(--gold); background: rgba(242, 194, 48, 0.08); padding: 0.1rem 0.35rem; }
.step--key { border-color: var(--gold); background: linear-gradient(170deg, rgba(242, 194, 48, 0.07), var(--ink-1) 50%); }
.step--key .step__n { -webkit-text-stroke-color: var(--gold); }
.step__small { margin-top: 1rem !important; font-size: 0.92rem; }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; }
  .step > *, .step__n { grid-column: 1; grid-row: auto; }
  .step__n { font-size: 2.6rem; margin-bottom: 0.4rem; }
}

/* --- El aviso de SmartScreen, recreado ---
   Dos estados que se alternan solos: primero se ve "Mas informacion" (y el
   cursor va alli), despues aparece "Ejecutar de todas formas". */
.ss { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 1.6rem; align-items: center; margin-top: 1.2rem; }
.ss__win { position: relative; background: #0f5aa8; color: #fff; padding: 1.4rem 1.4rem 1.2rem; font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); min-height: 300px; overflow: hidden; }
.ss__title { font-size: 1.55rem; font-weight: 300; margin-bottom: 0.8rem; }
.ss__text { font-size: 0.86rem; line-height: 1.45; margin: 0 0 0.9rem; color: #fff; }
.ss__more { font-size: 0.86rem; color: #fff; text-decoration: underline; display: inline-block; position: relative; }
.ss__info { font-size: 0.82rem; line-height: 1.6; margin-top: 0.4rem; display: none; }
.ss__info span { display: inline-block; width: 6.2rem; }
.ss__btns { position: absolute; right: 1.2rem; bottom: 1.1rem; display: flex; gap: 0.5rem; }
.ss__btns span { font-size: 0.82rem; padding: 0.45rem 1rem; border: 1px solid rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.12); white-space: nowrap; }
.ss__run { display: none; }
.ss__win.is-step2 .ss__more { display: none; }
.ss__win.is-step2 .ss__info, .ss__win.is-step2 .ss__run { display: inline-block; }
.ss__win.is-step2 .ss__info { display: block; }
/* El aro dorado que marca donde pulsar */
.ss__ring { position: absolute; border: 3px solid var(--gold); border-radius: 6px; pointer-events: none; transition: all 0.45s ease;
  box-shadow: 0 0 0 4px rgba(242, 194, 48, 0.25), 0 0 24px rgba(242, 194, 48, 0.8); animation: ring 1.2s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 0 9px rgba(242, 194, 48, 0.1), 0 0 30px rgba(242, 194, 48, 1); } }
.ss__cursor { position: absolute; width: 22px; height: 22px; pointer-events: none; transition: left 0.6s ease, top 0.6s ease;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 11-6.5 1 3.5 7.5-3 1.4-3.6-7.6L5 19z' fill='white' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E"); }
.ss__guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.ss__guide li { font: 500 1.15rem var(--ui); color: var(--mute-2); padding: 0.9rem 1.1rem; border: 1px solid var(--line); transition: all 0.3s; }
.ss__guide li b { color: var(--gold); margin-right: 0.3rem; }
.ss__guide li.is-on { color: var(--bone); border-color: var(--gold); background: rgba(242, 194, 48, 0.08); }
.ss__guide strong { color: var(--gold); }
@media (max-width: 860px) { .ss { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ss__ring { animation: none; } }

/* --- Preguntas --- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq__list details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { cursor: pointer; font: 600 1.12rem var(--ui); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; color: var(--red-hot); font: 400 1.6rem/1 var(--display); }
.faq__list details[open] summary::after { content: "–"; }
.faq__list p { color: var(--mute); margin: 0.7rem 0 0; }
