/* Rawcut — oscuro y premium: fondo negro con brillos rosa/violeta, tipografía grande, vidrio en las barras.
   Pensado primero para el celular (una columna, botones grandes, barra fija abajo) y luego para escritorio.
   Las variables de abajo las usan también los estilos en línea de las páginas. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

:root {
  --bg: #07060a;
  --bg-2: #0d0b12;
  --panel: #14111a;
  --panel-2: #1e1a26;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f7f4fb;
  --muted: #a69eb5;
  --accent: #ff3d7f;
  --accent-2: #ff86b0;
  --grad: linear-gradient(110deg, #ff3d7f 0%, #a24bff 52%, #ff8a3d 100%);
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #ff5470;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.55), 0 22px 54px rgba(0, 0, 0, 0.6);
  --glow: 0 10px 30px rgba(255, 61, 127, 0.35);
  --glass: rgba(10, 9, 14, 0.74);
  --radius: 22px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; font-size: 17px; letter-spacing: -0.011em; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
/* Brillos de fondo (fijos; en un pseudo-elemento porque background-attachment:fixed falla en iPhone) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 85% -8%, rgba(162, 75, 255, 0.2), transparent 62%),
              radial-gradient(760px 480px at -12% 12%, rgba(255, 61, 127, 0.16), transparent 60%),
              radial-gradient(700px 500px at 50% 110%, rgba(255, 138, 61, 0.1), transparent 60%); }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 22px; } }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Barra superior de vidrio */
.top { position: sticky; top: 0; z-index: 20; background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 18px; align-items: center; font-size: 14px; color: var(--text); }
.nav a { opacity: 0.8; transition: opacity 0.2s var(--ease); }
.nav a:hover { opacity: 1; }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: inline; } .nav { gap: 26px; } }
.credits { background: var(--grad); color: #fff; padding: 8px 14px; border-radius: 980px; font-weight: 700; font-size: 13px; cursor: default; white-space: nowrap; box-shadow: var(--glow); transition: transform 0.2s var(--ease); }
.credits a { color: inherit; }
.credits:hover { transform: scale(1.04); }

/* Portada */
.hero { padding: 48px 0 32px; text-align: center; }
@media (min-width: 760px) { .hero { padding: 96px 0 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-2); background: rgba(255, 61, 127, 0.1); border: 1px solid rgba(255, 61, 127, 0.25); padding: 6px 12px; border-radius: 980px; margin: 0 0 18px; }
.hero h1 { font-size: clamp(40px, 10.5vw, 84px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 800; margin: 0 0 18px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: clamp(17px, 4.4vw, 22px); line-height: 1.42; max-width: 640px; margin: 0 auto 28px; letter-spacing: -0.015em; }
.ctas { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ctas .btn { min-width: 240px; }
.link { color: var(--accent-2); font-size: 16px; font-weight: 600; }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

.pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pill { background: var(--panel); border: 1px solid var(--line); padding: 8px 14px; border-radius: 980px; font-size: 13px; color: var(--muted); }
.pill b { color: var(--text); font-weight: 600; }

/* Celular de muestra en la portada: video real si existe /ejemplos/portada.mp4, si no una animación antes→después */
.phone { position: relative; width: min(290px, 74vw); aspect-ratio: 9 / 16; margin: 36px auto 0; padding: 9px; border-radius: 42px; background: #000; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03), 0 30px 80px rgba(162, 75, 255, 0.35), 0 10px 40px rgba(255, 61, 127, 0.25); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #000; border-radius: 20px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #111; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.escena { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.escena svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.escena.antes { background: linear-gradient(180deg, #3b3340 0%, #2a2430 55%, #1d1922 100%); }
.escena.despues { background: linear-gradient(180deg, #120a2e 0%, #3a0f4f 45%, #ff3d7f 100%); animation: cambio 6s var(--ease) infinite; }
.etiqueta { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; padding: 6px 12px; border-radius: 980px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); white-space: nowrap; }
.escena.despues .etiqueta { background: var(--grad); }
.leyenda { position: absolute; bottom: 18px; left: 12px; right: 12px; z-index: 2; text-align: center; font-weight: 800; font-size: 15px; line-height: 1.25; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.barrido { position: absolute; left: 0; right: 0; height: 3px; z-index: 2; background: var(--grad); box-shadow: 0 0 18px #ff3d7f; animation: barrido 6s var(--ease) infinite; }
@keyframes cambio { 0%, 38% { clip-path: inset(0 0 100% 0); } 50%, 88% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes barrido { 0%, 38% { top: 0; opacity: 0; } 39% { opacity: 1; } 50% { top: 100%; opacity: 1; } 51%, 100% { top: 100%; opacity: 0; } }

/* Franja de cifras */
.stats { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin: 40px 0 0; border: 1px solid var(--line); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: var(--panel); padding: 26px 22px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(32px, 7vw, 46px); letter-spacing: -0.04em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: 15px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; padding: 15px 26px; min-height: 52px; border-radius: 980px; background: var(--grad); background-size: 160% 100%; color: #fff; box-shadow: var(--glow); transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background-position 0.4s var(--ease); }
.btn:hover { filter: brightness(1.08); background-position: 100% 0; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: var(--panel-2); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn.ghost:hover { filter: none; background: #29233a; }
.btn.full { width: 100%; }

/* Secciones */
section.block { padding: 64px 0 0; }
@media (min-width: 760px) { section.block { padding: 96px 0 0; } }
h2.sec { font-size: clamp(30px, 7.5vw, 48px); letter-spacing: -0.04em; line-height: 1.06; margin: 0 0 10px; font-weight: 800; }
p.sub { color: var(--muted); font-size: clamp(16px, 4.2vw, 20px); margin: 0 0 30px; max-width: 640px; letter-spacing: -0.015em; }
.center { text-align: center; } .center p.sub { margin-left: auto; margin-right: auto; }

/* Tarjetas de herramientas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); min-height: 220px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255, 61, 127, 0.35); }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 61, 127, 0.18), rgba(162, 75, 255, 0.18)); margin-bottom: 4px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--accent-2); }
.card h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ir { margin-top: 6px; font-weight: 700; color: var(--accent-2); font-size: 15px; }
.vs { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; display: flex; justify-content: space-between; gap: 8px; }
.vs s { color: var(--muted); }
.vs b { color: var(--text); }
.tag { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.card .soon { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--panel-2); padding: 4px 10px; border-radius: 980px; }
.card .nuevo { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 980px; }
.card.off { pointer-events: none; min-height: 0; }
.card.off h3, .card.off p, .card.off .ico { opacity: 0.55; }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; }
@media (min-width: 800px) { .step { flex-direction: column; padding: 28px; } }
.step .n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; box-shadow: var(--glow); }
.step h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.025em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Tabla comparativa */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
td.us { color: var(--accent-2); font-weight: 800; }

/* Precios */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.pack { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform 0.4s var(--ease); }
.pack:hover { transform: translateY(-4px); }
.pack.best { border: 1.5px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; box-shadow: var(--shadow), 0 20px 60px rgba(255, 61, 127, 0.18); }
.pack .tag { color: var(--accent-2); min-height: 18px; }
.pack .price { font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.1; }
.pack .price small, .opcion-pack b small { font-size: 0.4em; font-weight: 600; color: var(--muted); letter-spacing: 0; display: inline; }
.pack .cr { color: var(--muted); }
.pack .videos { font-size: 14px; color: var(--text); background: var(--panel-2); padding: 6px 12px; border-radius: 980px; margin: 8px 0 18px; }
.pack .btn { width: 100%; }
.seguro { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* Herramienta */
.tool { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 14px 0 28px; }
@media (min-width: 860px) { .tool { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 96px; align-items: start; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .panel { padding: 30px; } }
.volver { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.paso, .field label.paso { display: flex; align-items: center; gap: 10px; }
.paso i { flex: none; font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.paso.hecho i { background: var(--ok); }
.hint { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin: -4px 0 10px 36px; }
.drop { border: 1.5px dashed rgba(255, 255, 255, 0.18); border-radius: 18px; padding: 26px 18px; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--muted); cursor: pointer; background: var(--panel-2); font-size: 15px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.drop:hover, .drop:focus-visible { border-color: var(--accent); outline: none; }
.drop .mas { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 26px; line-height: 1; box-shadow: var(--glow); }
.drop b { color: var(--text); font-size: 16px; }
.drop.lleno { padding: 10px; border-style: solid; border-color: rgba(52, 211, 153, 0.5); }
.drop img, .drop video { max-width: 100%; max-height: 300px; border-radius: 12px; display: block; margin: 0 auto; }
.drop .cambiar { font-size: 13px; color: var(--accent-2); }
textarea, select, input[type=email], input[type=text], input[type=url] { width: 100%; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; font: inherit; font-size: 16px; outline: none; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); resize: vertical; }
textarea:focus, input:focus { border-color: var(--accent); background: #231e2c; }
details.opcional { margin-bottom: 22px; }
details.opcional summary { cursor: pointer; color: var(--accent-2); font-weight: 600; font-size: 15px; list-style: none; }
details.opcional summary::-webkit-details-marker { display: none; }
details.opcional[open] summary { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); border-radius: 980px; padding: 11px 18px; min-height: 44px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; transition: all 0.2s var(--ease); }
.choice.on { border-color: transparent; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 18px; line-height: 1.45; }
.consent input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); margin-top: 1px; }
.cost { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.cost b { color: var(--text); font-size: 17px; }
.result { min-height: 220px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; color: var(--muted); text-align: center; }
@media (min-width: 860px) { .result { min-height: 420px; position: sticky; top: 80px; } }
.result video { width: 100%; max-height: min(72vh, 640px); border-radius: 16px; background: #000; }
/* La foto se ve entera y sin estirar: se achica hasta caber, manteniendo su forma (9:16, 3:4 o 1:1) */
.result img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(72vh, 640px); margin: 0 auto; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.result .acciones { display: grid; gap: 10px; width: 100%; }
.espera { width: 100%; text-align: left; }
.espera ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.espera li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.espera li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); flex: none; }
.espera li.ya { color: var(--text); }
.espera li.ya::before { background: var(--ok); border-color: var(--ok); }
.espera li.ahora { color: var(--text); font-weight: 700; }
.espera li.ahora::before { background: var(--accent); border-color: var(--accent); animation: latido 1.2s ease-in-out infinite; }
@keyframes latido { 50% { transform: scale(1.5); opacity: 0.6; } }
.bar { width: 100%; height: 8px; background: var(--panel-2); border-radius: 980px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 980px; transition: width 0.6s var(--ease); }
.err { color: var(--bad); font-size: 14px; min-height: 20px; margin: 8px 0 0; }
.powered { font-size: 12px; color: var(--muted); }

/* Barra fija abajo en el celular (crear / precio). En escritorio se queda en su lugar. */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line); }
.barra .btn { flex: 1; }
.barra .precio { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; color: var(--muted); white-space: nowrap; }
.barra .precio b { color: var(--text); font-size: 17px; }
.barra .err { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 8px); margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(40, 10, 20, 0.92); border: 1px solid rgba(255, 84, 112, 0.45); backdrop-filter: blur(10px); }
.barra .err:empty { display: none; }
body.con-barra { padding-bottom: 92px; }
@media (min-width: 860px) {
  .barra.solo-cel { display: none; }
  body.con-barra { padding-bottom: 0; }
  .tool .barra { position: static; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; margin-top: 4px; flex-wrap: wrap; }
  .tool .barra .err { position: static; flex-basis: 100%; order: -1; }
}

/* Hoja que sube desde abajo (comprar créditos, avisos) */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: aparecer 0.25s var(--ease); }
.sheet .caja { width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 26px 26px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: subir 0.35s var(--ease); }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet .caja { border-radius: 26px; padding: 28px; } }
.sheet .asa { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: -6px auto 16px; }
.sheet h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.03em; }
.sheet p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.opcion-pack { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 16px; margin-bottom: 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.opcion-pack:active { transform: scale(0.98); }
.opcion-pack.best { border: 1.5px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; }
.opcion-pack b { font-family: var(--display); font-size: 24px; letter-spacing: -0.03em; }
.opcion-pack small { display: block; color: var(--muted); font-size: 13px; }
.opcion-pack .tag { display: block; color: var(--accent-2); margin-bottom: 2px; }
.recarga-libre { padding: 16px; border-radius: 18px; border: 1.5px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; display: grid; gap: 12px; }
.recarga-libre .tag { color: var(--accent-2); }
.recarga-libre .choice { padding: 9px 14px; }
.monto { display: flex; align-items: center; gap: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.monto span { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--muted); }
.monto input { flex: 1; min-width: 0; background: none; border: 0; color: var(--text); font: inherit; font-family: var(--display); font-size: 24px; font-weight: 800; padding: 10px 0; outline: none; }
.pack .incluye { list-style: none; padding: 0; margin: -8px 0 18px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.sheet .cerrar { width: 100%; margin-top: 6px; background: none; border: 0; color: var(--muted); font: inherit; padding: 12px; cursor: pointer; }

/* Banner del tutorial y preguntas frecuentes */
.banner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-radius: var(--radius); padding: 26px 22px; border: 1.5px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; box-shadow: var(--shadow), 0 20px 60px rgba(162, 75, 255, 0.16); }
@media (min-width: 760px) { .banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; } }
.banner h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.03em; }
.banner p { margin: 0; color: var(--muted); font-size: 15px; }
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Pie */
footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 26px 0 40px; color: var(--muted); font-size: 13px; background: var(--bg-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
footer a:hover { color: var(--text); }
.legal { max-width: 720px; padding: 40px 16px 96px; }
@media (min-width: 700px) { .legal { padding: 56px 22px 96px; } }
.legal h1 { letter-spacing: -0.035em; font-size: clamp(30px, 7vw, 40px); }
.legal h2 { margin-top: 32px; font-size: 20px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); }

/* Entrar, cuenta */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 16px; animation: aparecer 0.25s var(--ease); }
.modal .panel { width: 100%; max-width: 400px; animation: subir 0.35s var(--ease); }
.saldo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 26px; }
.saldo b { font-family: var(--display); font-size: 34px; letter-spacing: -0.04em; display: block; }
.saldo span { color: var(--muted); font-size: 14px; }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.job { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); box-shadow: var(--shadow); }
.job video { width: 100%; border-radius: 12px; background: #000; max-height: 420px; }
.job b { color: var(--text); }
.vacio { text-align: center; padding: 40px 18px; }
.vacio p { color: var(--muted); }
.st-ready { color: var(--ok); } .st-failed { color: var(--bad); } .st-queued, .st-processing { color: var(--warn); }

/* Tutorial */
.guide { max-width: 760px; margin: 0 auto; padding: 0 0 40px; }
.toc { display: grid; gap: 12px; margin: 0 0 48px; }
.toc a, .toc .lock { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.toc b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.toc span { color: var(--muted); font-size: 14px; }
.toc .lock { opacity: 0.75; }
.toc svg { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--accent-2); }
.mod { padding: 36px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 68px; }
.mod h2 { font-size: clamp(24px, 6vw, 34px); letter-spacing: -0.03em; margin: 0 0 14px; }
.mod h3 { font-size: 18px; letter-spacing: -0.02em; margin: 26px 0 8px; }
.mod p, .mod li { color: var(--muted); font-size: 16px; }
.mod b, .mod i { color: var(--text); }
.mod a { color: var(--accent-2); }
.mod pre { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.mod .note { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.unlock { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 28px 20px; text-align: center; margin: 0 0 36px; }
.unlock p { color: var(--muted); margin: 6px 0 22px; }

/* Movimiento suave al hacer scroll (se apaga si el sistema pide menos movimiento) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .pack, .btn, .modal, .modal .panel, .sheet, .sheet .caja { transition: none; animation: none; }
  .escena.despues, .barrido { animation: none; }
  .escena.despues { clip-path: inset(0 0 0 50%); }
}

/* Menú de cuenta (avatar con la inicial) */
.cuenta { position: relative; display: flex; align-items: center; gap: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 0; background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; font: inherit; font-weight: 800; font-size: 15px; display: inline-grid; place-items: center; cursor: pointer; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12); }
.menu-cuenta { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); z-index: 50; animation: aparecer 0.18s var(--ease); }
.menu-cuenta[hidden] { display: none; }
.mc-quien { display: flex; gap: 12px; align-items: center; padding: 8px 8px 12px; }
.mc-quien .avatar { width: 44px; height: 44px; font-size: 18px; cursor: default; }
.mc-quien b { display: block; font-size: 15px; }
.mc-quien small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.mc-saldo { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 6px; display: grid; gap: 6px; }
.mc-saldo > div { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; }
.mc-saldo > div b { font-family: var(--display); font-size: 18px; }
.mc-saldo small { color: var(--accent-2); font-size: 12px; font-weight: 600; }
.mc-saldo .btn { width: 100%; min-height: 40px; padding: 8px 14px; font-size: 14px; }
.menu-cuenta a, .menu-cuenta button[role=menuitem] { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border-radius: 10px; color: var(--text); opacity: 1; background: none; border: 0; font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
.menu-cuenta a:hover, .menu-cuenta button[role=menuitem]:hover { background: var(--panel); }
.menu-cuenta svg { width: 20px; height: 20px; flex: none; opacity: 0.85; }
.menu-cuenta hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
@media (max-width: 420px) { .cuenta .credits { padding: 7px 11px; font-size: 12px; } }

/* Tarjetas de planes con lo que incluye cada uno */
.planes { display: grid; gap: 16px; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 860px) { .planes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.plan.best { border: 1.5px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; box-shadow: var(--glow), var(--shadow); }
.plan .popular { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 980px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.plan-sub { margin: 0; color: var(--muted); font-size: 14px; }
.plan-precio { font-family: var(--display); font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 12px; }
.plan-precio small { font-size: 0.36em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan > .btn { width: 100%; min-height: 48px; }
.plan-lista { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-lista li { position: relative; padding-left: 26px; }
.plan-lista li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--accent-2); font-weight: 800; }
.plan-lista li.no { opacity: 0.45; }
.plan-lista li.no::before { content: "✕"; color: var(--muted); }
.plan-lista b { display: block; font-size: 14px; font-weight: 600; }
.plan-lista small { display: block; color: var(--muted); font-size: 12.5px; }
.sheet .caja.ancha { max-width: 480px; }
@media (min-width: 860px) { .sheet .caja.ancha { max-width: 1000px; } }
.sheet .planes { margin: 18px 0 4px; }
