/* Pivot AI · sistema visual de la landing
   Tomado de los paneles de Pivot AI Studio (Premiere) y Pivot AI Effects (After Effects):
   fondo #0d0d0f, superficies #131314 / #1a1a1e / #1c1c22, bordes #2c2c35, acento #7a3ef8 → #00c6fe,
   degradado de títulos #a78bfa → #7c3aed, pastillas redondeadas y botón «IA» con degradado animado. */

:root {
  --bg: #0d0d0f;
  --bg-2: #111113;
  --surface: #131314;
  --surface-2: #1a1a1e;
  --surface-3: #1c1c22;
  --line: #2c2c35;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #d4d4d4;
  --text-strong: #ffffff;
  --text-2: #c8c8d0;
  --muted: #8b8b96;
  --dim: #777784;
  --violet: #7a3ef8;
  --violet-2: #a78bfa;
  --violet-3: #7c3aed;
  --violet-soft: #e2d8ff;
  --violet-bg: #221b35;
  --violet-line: #3a2e5c;
  --cyan: #00c6fe;
  --cyan-2: #00f1fe;
  --ok: #4ade80;
  --ok-bg: #10261a;
  --err: #ff6b6b;
  --err-bg: #2a1414;
  --amber: #f5a524;
  --grad: linear-gradient(90deg, #7a3ef8, #00c6fe);
  --grad-ia: linear-gradient(270deg, #7a3ef8, #00f2fe, #7a3ef8);
  --grad-title: linear-gradient(135deg, #ffffff 10%, #a78bfa 55%, #00c6fe);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: Consolas, 'Courier New', monospace;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); text-decoration: none; }
a:hover { color: var(--text-strong); }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid #9d7bff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: 48px 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 680px; }
.center .lead { margin-inline: auto; }
.grad-text { background: var(--grad-title); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-soft); background: var(--violet-bg); border: 1px solid var(--violet-line); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(76, 175, 80, .6); }
.section-head { margin-bottom: 48px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; }

/* Botones (los .sv2-run y .btn-ia-gradient de los paneles) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--font);
  border-radius: 999px; padding: 13px 22px; cursor: pointer; border: 1px solid transparent; transition: filter .2s, background-color .2s, border-color .2s, transform .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); color: #fff; }
.btn-ia { background: var(--grad-ia); background-size: 200% 100%; animation: iaFlow 3s ease infinite; color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn-ia:hover { color: #fff; filter: brightness(1.1); }
.btn-ghost { background: var(--surface-3); color: var(--text-2); border-color: var(--line); }
.btn-ghost:hover { border-color: #4a4a58; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
@keyframes iaFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 15, .78); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand:hover { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--text-2); font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; color: #fff; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .2s; }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 320px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); display: none;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.has-menu::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; }
.menu a:hover { background: var(--surface-3); }
.menu small { display: block; color: var(--muted); font-size: 12px; }
.menu strong { color: #fff; font-size: 14px; font-weight: 600; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open { flex-wrap: wrap; height: auto; padding: 13px 0 18px; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; margin: 8px 0 0; }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; }
  .nav.open .nav-cta .btn { flex: 1; }
  .nav.open .nav-links a { padding: 12px; font-size: 16px; }
  .menu { position: static; transform: none; display: block; box-shadow: none; border: 0; background: none; padding: 0 0 0 10px; min-width: 0; }
  .menu small { display: none; }
}

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto; height: 760px; pointer-events: none; z-index: -1;
  background: radial-gradient(40% 50% at 30% 40%, rgba(122, 62, 248, .30), transparent 70%), radial-gradient(35% 45% at 75% 30%, rgba(0, 198, 254, .18), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-note span::before { content: '✓'; color: var(--ok); margin-right: 6px; }
.hosts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.host-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; }
.host-chip b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 10px; color: #0d0d0f; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Mockup de panel (imita el panel real) */
.panel-mock { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(122, 62, 248, .12); overflow: hidden; }
.pm-head { display: flex; align-items: center; justify-content: space-between; background: var(--bg-2); padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.pm-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #e0e0e0; }
.pm-title img { width: 18px; height: 18px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(76, 175, 80, .6); display: inline-block; }
.badge { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 10px; }
.badge-ok { color: #9ff0c2; background: var(--ok-bg); border: 1px solid #1f4d33; }
.badge-violet { color: #d9d0ff; background: var(--violet-bg); border: 1px solid var(--violet-line); }
.badge-err { color: #ffb3b3; background: var(--err-bg); border: 1px solid #5c2626; }
.badge-muted { color: var(--text-2); background: var(--surface-3); border: 1px solid var(--line); }
.pm-tabs { display: flex; gap: 6px; padding: 10px 14px 0; }
.pm-tab { font-size: 11px; color: var(--muted); padding: 6px 10px; border-radius: 10px 10px 0 0; cursor: pointer; border: 0; background: none; font-family: inherit; }
.pm-tab.on { color: #fff; background: var(--surface-2); }
.pm-body { padding: 18px 16px; min-height: 280px; display: flex; flex-direction: column; gap: 12px; }
.pm-greet { font-size: 22px; font-weight: 600; background: linear-gradient(135deg, #a78bfa, #7c3aed, #6d28d9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 6px 0 0; }
.pm-sub { color: #888; font-size: 15px; margin: -6px 0 6px; }
.pm-msg { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; color: #e3e3e3; max-width: 92%; }
.pm-msg.me { align-self: flex-end; background: #28213b; border-color: var(--violet-line); }
.pm-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; border-radius: 12px; padding: 3px 9px; color: #9ff0c2; background: var(--ok-bg); border: 1px solid #1f4d33; margin-top: 6px; }
.pm-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.pm-tool { font-size: 11px; color: var(--text-2); background: var(--surface-3); border: 1px solid var(--line); border-radius: 16px; padding: 5px 10px; }
.pm-tool.ia { background: var(--grad-ia); background-size: 200% 100%; animation: iaFlow 3s ease infinite; color: #fff; border-color: rgba(255, 255, 255, .2); }
.pm-tool.locked { opacity: .5; }
.pm-tool.locked::after { content: ' 🔒'; font-size: 9px; }
.pm-input { margin: 0 14px 14px; background: var(--surface-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; }
.pm-input .send { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 13px; }
.pm-typing::after { content: '▍'; animation: blink 1s steps(1) infinite; color: var(--violet-2); }
@keyframes blink { 50% { opacity: 0; } }

/* Tarjetas */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px; position: relative;
  transition: border-color .25s, transform .25s, background-color .25s;
}
.card:hover { border-color: rgba(124, 58, 237, .35); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--violet-bg); border: 1px solid var(--violet-line); margin-bottom: 16px; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-link:hover .card { transform: translateY(-3px); }

/* Productos */
.product-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; overflow: hidden; --accent: var(--violet-2); }
.product-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); opacity: .9; }
.product-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: var(--accent); opacity: .08; filter: blur(30px); pointer-events: none; }
.product-card .host { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.product-card h3 { font-size: 1.5rem; margin: 0; }
.product-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.product-card li { display: flex; gap: 10px; }
.product-card li::before { content: '✦'; color: var(--accent); flex: none; }
.product-card .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; }
.p-studio { --accent: #00c6fe; }
.p-effects { --accent: #a78bfa; }
.p-davinci { --accent: #f5a524; }
.p-badge { position: absolute; right: 22px; top: 24px; z-index: 1; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 26px 20px; text-align: center; }
.stat b { display: block; font-size: clamp(2.6rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat b small { font-size: .45em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.stat { padding: 34px 20px; }
.stat > span { color: var(--muted); font-size: 14px; display: block; margin-top: 6px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Pasos */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 22px; left: 26px; font: 700 13px var(--mono); color: var(--violet-2); }

/* Bloque destacado de producto */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.rev > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--text-2); }
.checks li::before { content: '✓'; color: var(--ok); font-weight: 700; flex: none; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 32px; } .feature-row.rev > :first-child { order: 0; } }

.tool-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); background: var(--surface-3); border: 1px solid var(--line); border-radius: 16px; padding: 7px 13px; }
.tool-pill.free { border-color: #1f4d33; color: #9ff0c2; background: var(--ok-bg); }

/* Precios */
.seg { display: inline-flex; gap: 4px; background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button { background: none; border: 0; color: var(--text-2); font: 600 14px var(--font); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.seg button.on { background: linear-gradient(90deg, rgba(122, 62, 248, .35), rgba(0, 198, 254, .25)); color: #fff; box-shadow: inset 0 0 0 1px var(--violet); }
.seg button small { color: var(--ok); font-weight: 600; margin-left: 4px; }
.price-card { display: flex; flex-direction: column; gap: 16px; }
.price { display: flex; align-items: baseline; gap: 6px; color: #fff; min-height: 56px; }
.price b { font-size: 2.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 14px; }
.price .tbd { font-size: 1.1rem; color: var(--text-2); font-weight: 600; }
.price-sub { color: var(--muted); font-size: 13px; margin-top: -10px; min-height: 20px; }
.price-card.featured { border-color: rgba(122, 62, 248, .55); background: linear-gradient(180deg, rgba(122, 62, 248, .10), transparent 40%), var(--surface); }

/* Tabla comparativa */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { color: #fff; font-weight: 600; background: var(--surface); }
tr:last-child td { border-bottom: 0; }
td { color: var(--text-2); }
.yes { color: var(--ok); }
.no { color: var(--dim); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 0 20px; }
.faq details[open] { border-color: var(--violet-line); }
.faq summary { cursor: pointer; padding: 18px 0; color: #fff; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet-2); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 18px; margin: 0; }

/* CTA final */
.cta-box { position: relative; border-radius: 28px; padding: clamp(36px, 6vw, 72px); text-align: center; overflow: hidden; border: 1px solid var(--violet-line); background: radial-gradient(60% 90% at 50% 0%, rgba(122, 62, 248, .35), transparent 70%), var(--surface); }
.cta-box .lead { margin: 0 auto 28px; }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--surface-3); }
.post-card .pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.35; margin: 0; }
.post-card time { font-size: 12px; color: var(--dim); }
.prose { max-width: 760px; margin-inline: auto; font-size: 17.5px; line-height: 1.75; color: var(--text-2); }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--violet); color: var(--text); background: var(--surface); border-radius: 0 10px 10px 0; }
.prose strong { color: #fff; }
.prose table { margin: 1.5em 0; }
.post-hero { padding: 56px 0 24px; }
.post-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 900px; }
.post-cover { border-radius: var(--radius-lg); margin: 24px auto 40px; max-width: 980px; width: 100%; border: 1px solid var(--line-soft); }
.breadcrumbs { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }

/* Formularios (los .rl-body de los paneles) */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--text-2); }
.input {
  width: 100%; background: var(--surface-3); border: 1px solid var(--line); color: #fff; border-radius: 12px; padding: 13px 14px;
  font: 15px var(--font); outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(122, 62, 248, .18); }
.input.code { font: 600 24px var(--mono); letter-spacing: .4em; text-align: center; }
.hint { font-size: 12px; color: var(--dim); }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.alert-err { color: #ffb3b3; background: var(--err-bg); border: 1px solid #5c2626; }
.alert-ok { color: #9ff0c2; background: var(--ok-bg); border: 1px solid #1f4d33; }
.alert-info { color: #d9d0ff; background: var(--violet-bg); border: 1px solid var(--violet-line); }

/* Cuenta */
.account-shell { max-width: 1040px; margin-inline: auto; }
.auth-card { max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.acc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.acc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.acc-tabs button { background: none; border: 0; color: var(--muted); font: 600 14px var(--font); padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.acc-tabs button.on { color: #fff; border-bottom-color: var(--violet); }
.lic { display: grid; gap: 14px; }
.lic-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.lic-key { display: flex; gap: 8px; align-items: center; background: #0d0d10; border: 1px solid #24242a; border-radius: 10px; padding: 10px 12px; font: 13px var(--mono); color: #d6d6de; overflow-x: auto; }
.lic-key code { flex: 1; white-space: nowrap; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kv div { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; }
.kv dt { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.kv dd { margin: 2px 0 0; color: #fff; font-size: 14px; font-weight: 600; }
.meter { height: 6px; background: var(--surface-3); border-radius: 6px; overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: iaFlow 1.4s ease infinite; border-radius: var(--radius-lg); height: 160px; }
.copy-btn { background: var(--surface-3); border: 1px solid var(--line); color: var(--text-2); border-radius: 8px; padding: 6px 10px; cursor: pointer; font: 12px var(--font); }
.copy-btn:hover { color: #fff; border-color: #4a4a58; }

/* Pie */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 32px; margin-top: 40px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--muted); font-size: 14px; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--dim); }
.foot-bottom button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Banner de cookies */
.consent { position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: none; }
.consent.show { display: block; animation: rise .35s ease; }
.consent h4 { margin: 0 0 6px; font-size: 15px; }
.consent p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.consent .row { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .row .btn { flex: 1 1 auto; }
.consent-opts { display: none; gap: 10px; margin: 0 0 14px; }
.consent.custom .consent-opts { display: grid; }
.opt { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--text-2); }
.opt small { display: block; color: var(--dim); font-size: 12px; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 22px; transition: background-color .2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--violet); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--surface-3); border: 1px solid var(--line); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 300; box-shadow: var(--shadow); }
.video-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #000; position: relative; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame button { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; background: center / cover no-repeat; }
.video-frame button::after { content: '▶'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 26px; display: grid; place-items: center; box-shadow: 0 10px 40px rgba(122, 62, 248, .5); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-weight: 600; font-size: 15px; }
.logo-row span { opacity: .8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Formularios conectados a Brevo */
.news-form { display: grid; gap: 14px; background: radial-gradient(60% 120% at 0% 0%, rgba(122, 62, 248, .16), transparent 60%), var(--surface); }
.news-form h3 { margin-bottom: 4px; }
.news-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 640px; }
.news-captcha { height: 0; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 860px) { .news-row { grid-template-columns: 1fr; } }
.news-consent { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.news-consent input { margin-top: 3px; accent-color: var(--violet); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b8b96 50%), linear-gradient(135deg, #8b8b96 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea.input { resize: vertical; min-height: 140px; }
.contact-form { display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .contact-form .two { grid-template-columns: 1fr; } }

/* Hero de una columna con video grande */
.hero-xl { padding-bottom: clamp(40px, 6vw, 80px); }
.hero-xl h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); max-width: 1000px; margin-inline: auto; }
.hero-xl .lead { margin-inline: auto; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.hero-video-wrap { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.hero-video-wrap::before { content: ''; position: absolute; inset: 8% 6% -4%; background: radial-gradient(50% 50% at 50% 50%, rgba(122, 62, 248, .55), rgba(0, 198, 254, .25) 50%, transparent 75%); filter: blur(60px); z-index: -1; }
.hero-video { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 1120px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #000 center / cover no-repeat; padding: 0; }
.hero-video::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: linear-gradient(120deg, #7a3ef8, #00f1fe, #a78bfa, #7a3ef8); background-size: 300% 300%; animation: iaFlow 6s ease infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.hero-video iframe, .hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.hv-play { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0, 0, 0, .25); cursor: pointer; }
.hv-play::after { content: '▶'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 30px; display: grid; place-items: center; box-shadow: 0 10px 50px rgba(122, 62, 248, .6); }
.hv-sound { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: rgba(13, 13, 15, .8); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--font); cursor: pointer; backdrop-filter: blur(8px); }
.hv-sound[hidden] { display: none; }

/* Artículos de herramientas */
.pc-ph { aspect-ratio: 16 / 9; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(70% 90% at 30% 20%, rgba(122, 62, 248, .35), transparent 70%), radial-gradient(60% 80% at 80% 90%, rgba(0, 198, 254, .22), transparent 70%), #111115; border-bottom: 1px solid var(--line-soft); }
.pc-ph span { font-size: 46px; }
.pc-ph small { color: var(--text-2); font-weight: 600; font-size: 13px; }
.pc-ph.p-davinci { background: radial-gradient(70% 90% at 30% 20%, rgba(245, 165, 36, .28), transparent 70%), radial-gradient(60% 80% at 80% 90%, rgba(122, 62, 248, .22), transparent 70%), #111115; }
.tool-box { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--violet-line); border-radius: 16px; padding: 14px 16px; margin: 0 0 32px; font-size: 15px; }
.tool-box .tb-ico { font-size: 30px; }
.tool-box div { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.tool-box b { color: #fff; } .tool-box div span { color: var(--muted); font-size: 13px; }
.tool-box em.free { font-style: normal; color: #9ff0c2; font-weight: 700; }
.tool-box .btn { text-decoration: none; }
.prose .steps-list { counter-reset: s; list-style: none; padding: 0; }
.prose .steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.prose .steps-list li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 14px var(--font); display: grid; place-items: center; }
.prose .note { background: var(--violet-bg); border: 1px solid var(--violet-line); border-radius: 12px; padding: 12px 16px; color: var(--violet-soft); font-size: 15.5px; }

/* Resumen de membresía en Mi cuenta */
.mem { border-top: 3px solid var(--accent, var(--violet)); }
.mem .btn { text-decoration: none; }

/* Testimonios y confianza */
.testi { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.testi-hl { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 0; }
.testi blockquote { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; flex: 1; }
.testi figcaption { display: flex; gap: 12px; align-items: center; }
.testi figcaption img, .testi-ini { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-ini { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.testi figcaption b { display: block; color: #fff; font-size: 14.5px; }
.testi figcaption b a { color: #fff; }
.testi figcaption small { color: var(--muted); font-size: 12.5px; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 28px auto 0; padding: 14px 18px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface); font-size: 13.5px; color: var(--text-2); max-width: 980px; }
.rating-pick { display: flex; gap: 6px; }
.rating-pick label { cursor: pointer; font-size: 26px; filter: grayscale(1); opacity: .5; transition: all .15s; }
.rating-pick input { position: absolute; opacity: 0; width: 0; }
.rating-pick input:checked + span, .rating-pick label:hover span { filter: none; opacity: 1; }
.rating-pick label span { filter: inherit; }

/* IAs conectables */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ai-chip { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px; transition: border-color .2s, transform .2s; }
.ai-chip:hover { border-color: rgba(124, 58, 237, .4); transform: translateY(-2px); }
.ai-chip b { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #0d0d0f; background: var(--c); box-shadow: 0 6px 20px color-mix(in srgb, var(--c) 35%, transparent); }
.ai-chip strong { display: block; color: #fff; font-size: 15px; }
.ai-chip small { color: var(--muted); font-size: 12.5px; }
.ai-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.ai-extra div { background: linear-gradient(180deg, rgba(122, 62, 248, .08), transparent), var(--surface); border: 1px solid var(--violet-line); border-radius: 16px; padding: 16px 18px; }
.ai-extra b { display: block; color: #fff; margin-bottom: 4px; }
.ai-extra span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .ai-extra { grid-template-columns: 1fr; } }
.tool-pill em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #0d0d0f; background: #4ade80; border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.tool-pill.free { border-color: var(--line); color: var(--text-2); background: var(--surface-3); }

/* Franja de confianza bajo los precios */
.trust-row { list-style: none; padding: 0; margin: 32px auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-row li { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px 16px; }
.trust-row .tr-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, rgba(122, 62, 248, .55), rgba(0, 198, 254, .35)); border: 1px solid rgba(255, 255, 255, .12); }
.trust-row b { display: block; color: #fff; font-size: 14.5px; }
.trust-row small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 900px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-row { grid-template-columns: 1fr; } }

/* Newsletter rediseñada (dos columnas) */
.news-form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--violet-line);
  background: radial-gradient(70% 120% at 0% 0%, rgba(122, 62, 248, .22), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(0, 198, 254, .12), transparent 60%), var(--surface); position: relative; }
.news-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.news-copy p { color: var(--text-2); margin: 0 0 16px; }
.news-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.news-perks li::before { content: '✦'; color: var(--violet-2); margin-right: 10px; }
.news-box { background: rgba(13, 13, 15, .55); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 12px; }
.news-label { font-size: 13px; color: var(--text-2); font-weight: 600; }
.news-field { display: flex; align-items: center; gap: 10px; background: var(--surface-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; transition: border-color .2s, box-shadow .2s; color: var(--muted); }
.news-field:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(122, 62, 248, .18); color: var(--violet-2); }
.news-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 15px var(--font); padding: 8px 0; }
.news-field .btn { padding: 11px 20px; }
.news-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); cursor: pointer; line-height: 1.45; }
.news-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--violet); flex: none; }
.news-legal { margin: 0; font-size: 11.5px; color: var(--dim); }
.news-legal a { color: var(--muted); }
@media (max-width: 860px) { .news-form { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 480px) { .news-field { flex-wrap: wrap; border-radius: 16px; padding: 10px; } .news-field .btn { width: 100%; } }

/* Página de contacto */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 12px; }
.ca-card { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 16px 18px; color: inherit; transition: border-color .2s, transform .2s; }
.ca-link:hover { border-color: var(--violet-line); transform: translateY(-2px); color: inherit; }
.ca-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: var(--violet-bg); border: 1px solid var(--violet-line); }
.ca-card b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.ca-card span, .ca-card a { font-size: 14px; color: var(--muted); }
.ca-card a { color: var(--violet-2); }
.ca-tip { font-size: 13.5px; color: var(--violet-soft); background: var(--violet-bg); border: 1px solid var(--violet-line); border-radius: 16px; padding: 14px 16px; line-height: 1.55; }
.contact-card { display: grid; gap: 20px; padding: clamp(22px, 3.5vw, 36px); border-radius: 28px; border: 1px solid var(--violet-line);
  background: radial-gradient(80% 60% at 100% 0%, rgba(122, 62, 248, .16), transparent 60%), var(--surface); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .cf-grid { grid-template-columns: 1fr; } }
.cf-field { display: grid; gap: 8px; }
.cf-field label, .cf-chips legend { font-size: 13px; font-weight: 600; color: var(--text-2); }
.contact-card .input { background: rgba(13, 13, 15, .6); border-radius: 14px; padding: 14px 16px; }
.contact-card textarea.input { min-height: 160px; }
.cf-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips legend { margin-bottom: 10px; padding: 0; }
.cf-chips label { cursor: pointer; }
.cf-chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.cf-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: rgba(13, 13, 15, .6); border: 1px solid var(--line); transition: all .15s; }
.cf-chips label:hover span { border-color: #4a4a58; color: #fff; }
.cf-chips input:checked + span { color: #fff; border-color: var(--violet); background: linear-gradient(90deg, rgba(122, 62, 248, .35), rgba(0, 198, 254, .2)); }
.cf-chips input:focus-visible + span { outline: 2px solid #9d7bff; outline-offset: 2px; }

/* Cabecera de los artículos con la imagen destacada de fondo */
.post-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); isolation: isolate; border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(60% 90% at 20% 0%, rgba(122, 62, 248, .35), transparent 70%), radial-gradient(50% 80% at 90% 100%, rgba(0, 198, 254, .18), transparent 70%), var(--bg-2); }
.post-hero.has-cover::before { content: ''; position: absolute; inset: -20px; z-index: -2; background: var(--cover) center / cover no-repeat; filter: blur(2px) saturate(1.1); transform: scale(1.04); }
.post-hero.has-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 15, .72) 0%, rgba(13, 13, 15, .82) 55%, var(--bg) 100%), radial-gradient(60% 80% at 15% 20%, rgba(122, 62, 248, .25), transparent 70%); }
.post-hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.post-hero .breadcrumbs, .post-hero .breadcrumbs a, .post-hero .muted { color: #c8c8d0; }
.post-hero.is-page { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.post-cover { margin-top: -24px; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
