/* =====================================================================
   landing.css — Página pública (marketing)
   ===================================================================== */
.landing { background:
  radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 0, .18), transparent 60%),
  radial-gradient(700px 400px at -10% 30%, rgba(255, 176, 32, .07), transparent 60%), var(--bg); }
.l-nav { display: flex; align-items: center; gap: 24px; padding: 18px clamp(16px, 4vw, 48px); position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 10, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.l-nav nav { display: flex; gap: 22px; margin: 0 auto; }
.l-nav nav a { color: var(--text); font-weight: 600; }
.section { padding: 70px clamp(16px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
.section-title { font-size: clamp(24px, 3.4vw, 36px); text-align: center; margin-bottom: 34px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 70px clamp(16px, 5vw, 64px) 40px; max-width: 1240px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -.02em; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 17px; color: #cfcfd6; max-width: 580px; margin: 18px 0 24px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-shot { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 122, 0, .08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.shot-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); }
.shot-bar span { margin-left: 8px; }
.mini { width: 100%; border-collapse: collapse; font-size: 12px; border-radius: 8px; overflow: hidden; }
.mini th { background: var(--accent); color: #000; text-align: left; padding: 8px; font-size: 10px; text-transform: uppercase; }
.mini td { padding: 8px; border-bottom: 1px solid #222; background: #121216; }
.mini .k { background: var(--c); color: #000; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.shot-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; font-size: 11px; font-weight: 700; text-align: center; }
.shot-phases span { background: var(--bg-2); border-radius: 6px; padding: 6px; }
.shot-curve { width: 100%; height: 50px; margin-top: 6px; }
.shot-curve polyline { fill: none; stroke: var(--accent); stroke-width: 3; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features article { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.features article span { font-size: 28px; }
.features h3 { margin: 10px 0 6px; font-size: 18px; }
.features p { color: var(--muted); margin: 0; }

.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.steps li b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #000; font: 900 18px var(--display); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

.price-card { max-width: 460px; margin: 0 auto; background: var(--panel); border: 1px solid rgba(255, 122, 0, .45); border-radius: 18px; padding: 32px; text-align: center;
  box-shadow: 0 0 60px rgba(255, 122, 0, .12); }
.price-card h2 { font-size: 54px; margin: 0; }
.price-card h2 small { font-size: 18px; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; text-align: left; display: grid; gap: 8px; }

.faq details { max-width: 820px; margin: 0 auto 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 20px; }
.l-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px clamp(16px, 5vw, 64px) 90px; border-top: 1px solid var(--line); }

/* Idioma + 3 planes + guías */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: transparent; color: var(--muted); border: 0; padding: 6px 10px; font: 700 12px var(--font, inherit); cursor: pointer; }
.lang-switch button.active { background: var(--accent); color: #000; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto 18px; align-items: stretch; }
.price-grid .price-card { max-width: none; margin: 0; box-shadow: none; border-color: var(--line); display: flex; flex-direction: column; }
.price-grid .price-card ul { flex: 1; align-content: start; }
.price-grid .price-card h2 { font-size: 42px; }
.price-card.hl { border-color: rgba(255, 122, 0, .7); box-shadow: 0 0 60px rgba(255, 122, 0, .16); transform: translateY(-6px); }
.center { text-align: center; }
.guide { max-width: 820px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 32px) 60px; line-height: 1.7; }
.guide h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.guide h2 { margin-top: 34px; color: var(--accent); }
.guide table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.guide th, .guide td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.guide .cta-box { margin: 40px 0 10px; padding: 24px; border: 1px solid rgba(255, 122, 0, .5); border-radius: 16px; background: var(--panel); text-align: center; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; list-style: none; padding: 0; }
.guide-list a { display: block; height: 100%; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--text); }
.guide-list a:hover { border-color: var(--accent); }
.guide-list small { display: block; color: var(--muted); margin-top: 6px; font-weight: 400; }

/* Academia en la landing */
.acad-land { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; max-width: 1150px; margin: 0 auto; }
.acad-land .section-title { text-align: left; }
.acad-land-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 18px 0 24px; }
.acad-land-list li { padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.acad-land-shot { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid rgba(255, 122, 0, .45); border-radius: 18px; padding: 22px; display: grid; gap: 16px; box-shadow: 0 0 60px rgba(255, 122, 0, .14); transform: rotate(1.5deg); }
.als-head { display: flex; justify-content: space-between; font: 900 18px var(--display); } .als-head span { color: var(--muted); }
.als-phrase { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; } .als-phrase i { height: 26px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); } .als-phrase i.on { background: var(--accent); border-color: var(--accent); }
.als-knobs { display: grid; grid-template-columns: repeat(3, 1fr) 2fr; gap: 14px; align-items: end; height: 110px; }
.als-knobs span { height: calc(var(--v) * 100%); min-height: 10px; border-radius: 8px; background: linear-gradient(0deg, var(--accent), var(--accent-2)); }
.als-knobs span.f { background: linear-gradient(90deg, #3aa0ff, #8fd0ff); }
.als-score { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; } .als-score strong { font: 900 44px var(--display); color: var(--ok); } .als-score small { grid-column: 1; color: var(--muted); } .als-score p { grid-column: 2; grid-row: 1 / 3; margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .acad-land { grid-template-columns: 1fr; }
  .acad-land-shot { transform: none; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.hl { transform: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-shot { transform: none; }
  .features, .steps ol { grid-template-columns: 1fr; }
  .l-nav nav { display: none; }
  .l-nav .btn { margin-left: auto; }
}
@media (min-width: 901px) and (max-width: 1100px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }

/* ---------- Demo animada ---------- */
.demo-player { max-width: 860px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.demo-screen { position: relative; min-height: 290px; }
.demo-scene { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
.demo-scene.on { opacity: 1; transform: none; pointer-events: auto; }
.demo-cap { font: 800 17px var(--display); margin: 0 0 14px; }
.demo-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.demo-files li { display: flex; gap: 10px; align-items: center; padding: 8px 12px; background: var(--panel-2); border-radius: 8px; opacity: 0; }
.demo-scene.on .demo-files li { animation: dfin .5s forwards; }
.demo-files li:nth-child(2) { animation-delay: .8s !important; } .demo-files li:nth-child(3) { animation-delay: 1.6s !important; } .demo-files li:nth-child(4) { animation-delay: 2.4s !important; } .demo-files li:nth-child(5) { animation-delay: 3.2s !important; }
.demo-files b { margin-left: auto; color: var(--accent); }
.demo-files .k { background: hsl(320 70% 45%); padding: 2px 8px; border-radius: 6px; font-weight: 800; font-size: 12px; }
@keyframes dfin { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.demo-chips span { padding: 6px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.demo-chips .on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.demo-phases { display: grid; gap: 10px; }
.demo-phases div { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; }
.demo-phases i { display: block; height: 18px; border-radius: 9px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; }
.demo-scene.on .demo-phases i { animation: dfw 2.5s ease-out forwards; }
.demo-phases div:nth-child(2) i { animation-delay: .6s !important; } .demo-phases div:nth-child(3) i { animation-delay: 1.2s !important; }
@keyframes dfw { to { width: var(--w); } }
.demo-wheel { position: relative; width: 180px; height: 180px; margin: 0 auto 12px; border-radius: 50%; border: 2px solid var(--line); }
.demo-wheel i { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: hsl(calc(var(--a) * 1) 70% 45%); transform: rotate(var(--a)) translateY(-72px); opacity: .35; }
.demo-scene.on .demo-wheel i:nth-child(1), .demo-scene.on .demo-wheel i:nth-child(2), .demo-scene.on .demo-wheel i:nth-child(12) { opacity: 1; box-shadow: 0 0 0 3px var(--accent); }
.demo-wheel b { position: absolute; inset: 0; display: grid; place-items: center; font: 900 30px var(--display); color: var(--accent); }
.demo-ok { text-align: center; font-weight: 700; }
.demo-cabina { text-align: center; }
.demo-clock { font: 900 64px var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.demo-scene.on .demo-clock { animation: dpulse 1s infinite; }
@keyframes dpulse { 50% { opacity: .6; } }
.demo-bar { height: 4px; background: var(--panel-3); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.demo-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.demo-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.demo-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: var(--panel-3); cursor: pointer; padding: 0; }
.demo-dots button.on { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .demo-scene { transition: none; } .demo-files li { opacity: 1; animation: none !important; } .demo-phases i { width: var(--w); animation: none !important; } }
@media (max-width: 600px) { .demo-screen { min-height: 340px; } .demo-phases div { grid-template-columns: 96px 1fr; } }

/* ---------- Opiniones reales + extras ---------- */
.opinions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.opinion { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.opinion .stars { color: var(--accent); letter-spacing: 2px; }
.opinion blockquote { margin: 8px 0 12px; line-height: 1.5; }
.opinion figcaption { color: var(--muted); font-size: 14px; }
.extras-land { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.extras-land article { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.extras-land span { font-size: 28px; }
.extras-land h3 { margin: 8px 0 6px; }
.extras-land p { margin: 0; color: var(--muted); }
