/* Twister Titler · landing  (sala de control: monitor de programa + lower thirds) */
@font-face { font-family: "Archivo"; src: url(fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }
:root {
  --ink: #13101c; --deck: #1c1828; --deck2: #241f33; --line: #2e2940;
  --paper: #edeaf5; --mute: #a29db6; --dim: #6f6a84;
  --violet: #8b3dff; --magenta: #c13dff; --tally: #ff2d55;
  --grad: linear-gradient(115deg, var(--violet), var(--magenta));
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: #c9a6ff; }
:focus-visible { outline: 3px solid #c9a6ff; outline-offset: 3px; border-radius: 4px; }
h2 { font: 800 clamp(28px, 3.6vw, 44px)/1.08 var(--display); font-stretch: 112%; letter-spacing: -.01em; margin: 0 0 16px; max-width: 22ch; }
h3 { font: 700 20px/1.25 var(--display); font-stretch: 105%; margin: 0 0 8px; }
.sec-lede { color: var(--mute); max-width: 62ch; margin: 0 0 34px; font-size: 18px; }
main > section { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--deck2); color: var(--paper); font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: #4a4362; background: #2b2540; }
.btn:active { transform: translateY(1px); }
.btn.pri { background: var(--grad); border-color: transparent; color: #fff; }
.btn.pri:hover { filter: brightness(1.08); }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Cabecera ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px;
  background: rgba(19,16,28,.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(46,41,64,.7); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font: 800 17px var(--display); font-stretch: 110%; }
.mk { width: 32px; height: 32px; object-fit: contain; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--mute); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--paper); }
.top nav .nav-buy { color: #fff; background: var(--grad); padding: 8px 14px; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px !important; }
.lt-head { position: relative; z-index: 2; margin: 0 0 -26px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.lt-l1, .lt-l2 { position: relative; display: inline-block; overflow: hidden; }
.lt-l1 { padding: .14em .42em .1em; font: 800 clamp(28px, 4vw, 58px)/1.04 var(--display); font-stretch: 116%; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.lt-l1 .bg { background: var(--grad); }
.lt-l2 { padding: .5em .8em; font: 700 clamp(14px, 1.6vw, 21px)/1.2 var(--display); font-stretch: 100%; color: var(--ink); }
.lt-l2 .bg { background: var(--paper); }
.lt-head .bg { position: absolute; inset: 0; transform-origin: 0 50%; }
.lt-head .tx { position: relative; display: block; }
.hero-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 44px; align-items: end; }
.hero-copy { padding-bottom: 6px; }
.lede2 { color: var(--mute); max-width: 40ch; margin: 0 0 28px; }
.lede { font: 700 clamp(22px, 2.2vw, 28px)/1.25 var(--display); font-stretch: 104%; max-width: 22ch; margin: 0 0 14px; }
.lede b { color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--dim); font-size: 14px; margin: 16px 0 0; }

.monitor { margin: 0; position: relative; z-index: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 90px -30px rgba(139,61,255,.45), 0 20px 50px rgba(0,0,0,.45); }
.mon-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 9px 14px; background: #17141f; border-bottom: 1px solid var(--line); color: var(--mute); font: 600 13px var(--body); }
.tally { display: inline-flex; align-items: center; gap: 7px; background: var(--tally); color: #fff; font: 800 11.5px var(--display); letter-spacing: .08em; padding: 4px 9px; border-radius: 5px; }
.tally::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: tally 1.6s ease-in-out infinite; }
@keyframes tally { 50% { opacity: .35; } }
.monitor video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Momento de entrada: el titular entra como un lower third */
@media (prefers-reduced-motion: no-preference) {
  .lt-head .bg { animation: ltBar .75s cubic-bezier(.22,1,.36,1) both; }
  .lt-head .tx { animation: ltTx .7s cubic-bezier(.22,1,.36,1) both; }
  .lt-l1 .bg { animation-delay: .15s; } .lt-l1 .tx { animation-delay: .45s; }
  .lt-l2 .bg { animation-delay: .5s; }  .lt-l2 .tx { animation-delay: .78s; }
  .hero-copy { animation: fadeIn .6s ease 1.1s both; }
}
@keyframes ltBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ltTx { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sin renders ---------- */
.race { display: grid; gap: 14px; }
.lane { display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: center; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--deck); }
.lane-name { font: 700 16px var(--display); font-stretch: 105%; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.steps li { padding: 7px 12px; border-radius: 8px; background: #2a2538; color: var(--mute); font-size: 14.5px; font-weight: 600; position: relative; }
.lane.old .steps li { background: #221e2e; color: #8c869f; }
.lane.new { border-color: #4b2f86; background: linear-gradient(115deg, rgba(139,61,255,.16), rgba(193,61,255,.05)), var(--deck); }
.lane.new .steps li { background: #2f2847; color: var(--paper); }
.lane.new .steps li.go { background: var(--tally); color: #fff; }
.lane-time { font: 800 18px var(--display); font-stretch: 112%; white-space: nowrap; color: var(--mute); }
.lane.new .lane-time { color: #fff; }

/* ---------- Cómo funciona ---------- */
.how { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.dockframe { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0f0e14; box-shadow: 0 30px 70px -25px rgba(0,0,0,.7); }
.dockframe video { width: 100%; aspect-ratio: 420/860; object-fit: cover; }
.how-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 22px; }
.how-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; color: var(--mute); }
.how-steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #4b2f86; display: grid; place-items: center; font: 800 16px var(--display); color: #c9a6ff; }
.how-steps b { display: block; color: var(--paper); font-size: 18px; margin-bottom: 2px; }

/* ---------- Plantillas ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tpl-grid figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--deck); }
.tpl-grid figure:first-child { grid-column: 1 / -1; }
.tpl-grid img { width: 100%; aspect-ratio: 1100/440; object-fit: cover; }
.tpl-grid figcaption { padding: 12px 16px; color: var(--mute); font-size: 15px; }
.tpl-grid figcaption b { color: var(--paper); margin-right: 8px; font-family: var(--display); }
.anims { margin-top: 22px; color: var(--mute); font-size: 15.5px; max-width: 80ch; }
.anims span { color: var(--paper); font-weight: 700; }

/* ---------- Mosca ---------- */
.bug { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.bug-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bug-list li { padding-left: 26px; position: relative; color: #cfcade; }
.bug-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--grad); }
.bug-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.bug-media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Sheets ---------- */
.sheets { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.note { color: #cfcade; border-left: 3px solid var(--violet); padding: 4px 0 4px 14px; }
.sheet { background: #fff; color: #202124; border-radius: 10px; overflow: hidden; font: 14px/1.3 Arial, sans-serif; box-shadow: 0 30px 70px -25px rgba(0,0,0,.7); }
.sh-head, .sh-row { display: grid; grid-template-columns: 38px 1.1fr 1.3fr 1.3fr; }
.sh-head span, .sh-row span { padding: 8px 10px; border-right: 1px solid #e3e3e3; border-bottom: 1px solid #e3e3e3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-head span { background: #f1f3f4; color: #5f6368; text-align: center; font-size: 12.5px; }
.sh-row span:first-child { background: #f1f3f4; color: #5f6368; text-align: center; font-size: 12.5px; }
.sh-row.th span:not(:first-child) { background: #8b3dff; color: #fff; font-weight: 700; }

/* ---------- Características ---------- */
.feat-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.feat-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.feat-list dt { font: 700 18px var(--display); font-stretch: 105%; margin-bottom: 4px; }
.feat-list dd { margin: 0; color: var(--mute); }

/* ---------- Tutoriales ---------- */
.carousel { position: relative; outline: none; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; border: 1px solid var(--line); background: var(--deck); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; padding: 34px 44px; }
.slide img { width: 100%; border-radius: 12px; border: 1px solid var(--line); max-height: 560px; object-fit: cover; object-position: top; }
.cap .n { display: block; color: #c9a6ff; font-weight: 700; margin-bottom: 6px; }
.cap h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.cap p { color: #cfcade; max-width: 52ch; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--deck2); color: var(--paper); font-size: 24px; cursor: pointer; line-height: 1; }
.car-btn:hover { border-color: #4a4362; }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #3a3450; cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: var(--magenta); width: 26px; border-radius: 9px; }

/* ---------- Compra ---------- */
.buy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.price-card, .trial-card { border-radius: 18px; padding: 34px; border: 1px solid var(--line); background: var(--deck); }
.price-card { border-color: #4b2f86; background: linear-gradient(160deg, rgba(139,61,255,.18), rgba(193,61,255,.04) 45%), var(--deck); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 18px; }
.price span { font: 900 clamp(40px, 5vw, 56px)/1 var(--display); font-stretch: 112%; }
.price small { color: var(--mute); font-size: 15px; }
.incl { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.incl li { padding-left: 26px; position: relative; color: #cfcade; }
.incl li::before { content: '✓'; position: absolute; left: 0; color: #c9a6ff; font-weight: 800; }
.buy-form label { display: block; font-weight: 600; font-size: 14.5px; margin: 12px 0 6px; }
.buy-form input { width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line); background: #120f1a; color: #fff; font: 16px var(--body); }
.buy-form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,61,255,.25); }
.hint { color: var(--dim); font-size: 14px; margin: 8px 0 0; }
.err { color: #ff8da1; min-height: 22px; margin: 10px 0 6px; font-size: 15px; }
.trial-card p { color: var(--mute); }
.trial-card ol { color: #cfcade; padding-left: 20px; margin: 0 0 22px; }
.trial-card ol li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq > * { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 18px var(--display); font-stretch: 103%; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: #c9a6ff; font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); margin: 10px 0 0; max-width: 70ch; }

.foot { max-width: var(--wrap); margin: 0 auto; padding: 34px 24px 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 15px; }
.foot-brand img { height: 46px; width: auto; }
.foot { align-items: center; }
.foot div:last-child { display: flex; gap: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  main > section { padding: 70px 20px; }
  .hero-body, .how, .bug, .sheets, .buy { grid-template-columns: 1fr; gap: 36px; }
  .lt-head { margin-left: 0; margin-bottom: 18px; }
  .lt-l1 { white-space: normal; }
  .how-media { max-width: 340px; }
  .lane { grid-template-columns: 1fr; gap: 12px; }
  .feat-list { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .slide img { max-width: 300px; max-height: 420px; }
  .top nav a:not(.nav-buy) { display: none; }
}
@media (max-width: 560px) {
  .tpl-grid { grid-template-columns: 1fr; }
  .price-card, .trial-card { padding: 24px; }
  .sh-head, .sh-row { grid-template-columns: 30px 1fr 1.2fr 1fr; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tally::before { animation: none; } }
