/* ─── Forzen Landing — Soft Dark (aligned with in-app Settings) ─── */

:root {
  /* Deeper blacks + higher saturation Soft Dark */
  --bg: #000000;
  --bg-elevated: #050506;
  --surface: #0a0a0c;
  --surface-hover: #121216;
  --card: #0a0a0c;
  --card-hover: #121216;
  --border: #1f1f24;
  --border-strong: rgba(16, 255, 140, 0.55);
  --accent: #10ff8c;
  --accent-soft: #5dffb0;
  --accent-dim: rgba(16, 255, 140, 0.14);
  --accent-glow: rgba(16, 255, 140, 0.38);
  /* Alias so existing rules keep working */
  --green: var(--accent);
  --green-soft: var(--accent-soft);
  --green-dim: var(--accent-dim);
  --green-glow: var(--accent-glow);
  --red: #ff5c6a;
  --text: #fafafa;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --on-accent: #000000;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --font-mono: "JetBrains Mono", "Consolas", ui-monospace, monospace;
  --nav-h: 64px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Forzen magnifier cursor (hotspot = center of glass). PNG first for Windows. */
  cursor: url("cursor-lens.png") 14 14, url("cursor-lens.svg") 14 14, auto;
}

/* Clickable UI: green hand (same brand color as the lens) */
a,
button,
.a11y-btn,
.a11y-toggle,
.nav-cta,
.nav-toggle,
input,
select,
textarea,
label,
summary,
[role="button"],
[data-live-mode] {
  cursor: url("cursor-pointer.png") 10 3, url("cursor-pointer.svg") 10 3, pointer;
}

/* High-contrast reading mode: restore system cursors */
html[data-hc] body {
  cursor: auto;
}
html[data-hc] a,
html[data-hc] button,
html[data-hc] .a11y-btn,
html[data-hc] .a11y-toggle,
html[data-hc] .nav-cta,
html[data-hc] .nav-toggle,
html[data-hc] [role="button"] {
  cursor: pointer;
}

/* Ambient background */
.bg-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-fx .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.bg-fx .orb-a {
  width: 520px; height: 520px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(16, 255, 140, 0.2), transparent 70%);
}
.bg-fx .orb-b {
  width: 420px; height: 420px;
  bottom: 10%; left: -120px;
  background: radial-gradient(circle, rgba(16, 255, 140, 0.12), transparent 70%);
}
.bg-fx .noise {
  position: absolute; inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ─── Site a11y preferences ─── */
html[data-font-scale="125"] { font-size: 21px; }
html[data-font-scale="150"] { font-size: 25px; }
html[data-legible="true"] body {
  font-family: "Atkinson Hyperlegible", var(--font-sans);
}
html[data-hc="true"] {
  --bg: #000000;
  --bg-elevated: #000000;
  --surface: #0a0a0a;
  --surface-hover: #141414;
  --card: #0a0a0a;
  --card-hover: #141414;
  --border: #ffffff;
  --border-strong: #ffff00;
  --accent: #ffff00;
  --accent-soft: #ffff66;
  --accent-dim: rgba(255, 255, 0, 0.15);
  --accent-glow: rgba(255, 255, 0, 0.35);
  --green: #ffff00;
  --green-soft: #ffff66;
  --green-dim: rgba(255, 255, 0, 0.15);
  --green-glow: rgba(255, 255, 0, 0.35);
  --text: #ffffff;
  --muted: #eeeeee;
  --muted-2: #dddddd;
  --on-accent: #000000;
  --red: #ff3333;
}

.a11y-bar {
  position: relative;
  margin-left: auto;
  margin-right: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  order: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.lang-btn {
  min-width: 2rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.4rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono, var(--font-display));
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1;
}
.lang-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
}
.lang-btn.is-on,
.lang-btn[aria-pressed="true"] {
  color: var(--bg, #0a0f0c);
  background: var(--accent, #00ff41);
}
@media (max-width: 720px) {
  .lang-switch {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.15rem;
  }
  .a11y-bar {
    margin-left: 0.25rem;
  }
}
.nav-inner .nav-toggle { order: 2; }
.nav-inner .nav-links { order: 1; }
.a11y-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: -0.02em;
}
.a11y-toggle:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.a11y-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 220px;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.a11y-panel[hidden] { display: none !important; }
.a11y-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.a11y-row-label {
  width: 100%;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.1rem;
}
.a11y-btn {
  flex: 1;
  min-width: 2.5rem;
  min-height: 36px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}
.a11y-btn.is-on,
.a11y-btn[aria-pressed="true"] {
  border-color: var(--border-strong);
  background: var(--accent);
  color: var(--on-accent);
}
.a11y-btn:hover { border-color: var(--border-strong); }
.a11y-btn-reset {
  width: 100%;
  margin-top: 0.15rem;
  border-style: dashed;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}
.a11y-btn-reset:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--accent-dim);
}

/* Trust / SHA block */
.trust-block {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
}
.trust-block h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.trust-block p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}
.sha-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.sha-code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  word-break: break-all;
  color: var(--accent-soft);
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}
.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ─── Nav ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  flex-wrap: nowrap;
}
.nav-inner .logo { margin-right: auto; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--green);
  box-shadow: 0 0 16px var(--green-glow);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.85;
}
.logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
}

/* Nav CTA uses same solid CTA language as download buttons */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent) !important;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  box-shadow:
    0 0 0 1px rgba(16, 255, 140, 0.2),
    0 10px 28px var(--accent-glow);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, filter 0.15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  filter: saturate(1.08);
  box-shadow:
    0 0 0 1px rgba(16, 255, 140, 0.35),
    0 14px 36px var(--accent-glow);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ─── Buttons — same design as “Descargar Forzen 1.2.0” CTA ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, filter 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
.btn-download {
  background: var(--accent);
  color: var(--on-accent) !important;
  box-shadow:
    0 0 0 1px rgba(16, 255, 140, 0.22),
    0 12px 36px var(--accent-glow);
}
.btn-primary:hover,
.btn-download:hover {
  background: var(--accent-soft);
  filter: saturate(1.08);
  box-shadow:
    0 0 0 1px rgba(16, 255, 140, 0.4),
    0 16px 48px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--border);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: rgba(16, 255, 140, 0.45);
  background: var(--accent-dim);
  color: var(--accent-soft) !important;
  box-shadow: 0 0 0 1px rgba(16, 255, 140, 0.12);
}

/* ─── Hero ─── */
.hero {
  padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(1.75rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 0.95rem;
  max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
}
.hero-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 40ch;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 420px;
  align-items: start;
}
.stat {
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 0;
  max-width: 100%;
  height: auto;
  align-self: start;
  overflow: hidden;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  /* Cap growth when A·a scales root font-size */
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
.stat span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.3;
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}
/* Keep stat numbers stable when page font is enlarged */
html[data-font-scale="125"] .stat strong,
html[data-font-scale="150"] .stat strong {
  font-size: 1.2rem;
}
html[data-font-scale="125"] .stat span,
html[data-font-scale="150"] .stat span {
  font-size: 0.7rem;
}
html[data-font-scale="125"] .stat,
html[data-font-scale="150"] .stat {
  padding: 0.7rem 0.75rem;
}

/* Product mockup */
.product-stage {
  position: relative;
  isolation: isolate;
}
.product-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, var(--green-dim), transparent 65%);
  filter: blur(20px);
  z-index: 0;
}
.desktop-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #141416 0%, #050506 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.desktop-chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  min-height: 40px;
}
.desktop-chrome i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #3f3f46;
}
.desktop-chrome i:nth-child(1) { background: #ff5f57; }
.desktop-chrome i:nth-child(2) { background: #febc2e; }
.desktop-chrome i:nth-child(3) { background: #28c840; }
.desktop-chrome .title {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  font-weight: 600;
  flex-shrink: 0;
}
.desktop-body {
  position: relative;
  height: calc(100% - 40px);
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(145deg, #101510, #0b0f0c 55%, #0a1210);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

/* ─── Product demos (pure CSS — lens + docked) ─── */
.fx-demo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  isolation: isolate;
}
.mode-preview.fx-demo {
  height: 210px;
  min-height: 210px;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(145deg, #101510, #0b0f0c 55%, #0a1210);
  background-size: 20px 20px, 20px 20px, auto;
}

/* Fake app windows */
.fx-win {
  position: absolute;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12141a;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
}
.fx-win--mail {
  top: 10%;
  left: 6%;
  width: 52%;
  height: 64%;
}
.fx-win--notes {
  top: 22%;
  right: 7%;
  width: 36%;
  height: 54%;
}
.fx-win--full {
  top: 12%;
  left: 8%;
  right: 8%;
  width: auto;
  height: 68%;
}
.fx-win-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 26px;
  padding: 0 10px;
  background: #1a1c22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
}
.fx-dots {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 4px 50%, #ff5f57 3px, transparent 3.5px),
    radial-gradient(circle at 14px 50%, #febc2e 3px, transparent 3.5px),
    radial-gradient(circle at 24px 50%, #28c840 3px, transparent 3.5px);
}
.fx-win-body { padding: 12px; }
.fx-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 0.45rem;
  line-height: 1.25;
}
.fx-line {
  font-size: 0.62rem;
  color: #d4d4d8;
  line-height: 1.5;
  margin-bottom: 0.28rem;
}
.fx-muted { color: var(--muted-2); margin-top: 0.35rem; }

/* Hotspot = point under cursor; moved by JS (works even with reduced-motion OS) */
.fx-hotspot {
  position: absolute;
  left: 36%;
  top: 44%;
  width: 0;
  height: 0;
  z-index: 8;
  pointer-events: none;
  will-change: left, top;
}
.fx-hotspot--cursor-only {
  z-index: 10;
}

/* Cursor tip at hotspot origin */
.fx-cursor {
  position: absolute;
  width: 16px;
  height: 20px;
  left: 0;
  top: 0;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  background: #f4f4f5;
  clip-path: polygon(0 0, 0 82%, 22% 64%, 40% 100%, 54% 94%, 34% 56%, 68% 56%);
}

/* Circular lens centered on hotspot */
.fx-lens {
  position: absolute;
  width: 132px;
  height: 132px;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2.5px solid var(--green);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 28px var(--green-glow),
    inset 0 0 18px rgba(16, 255, 140, 0.12);
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  background: #0c100e;
  clip-path: circle(50% at 50% 50%);
}
.fx-lens--sm {
  width: 86px;
  height: 86px;
  border-width: 2px;
}
.fx-lens-zoom {
  position: absolute;
  width: 220%;
  height: 220%;
  left: 0;
  top: 0;
  will-change: transform;
}
.fx-zoom-card {
  position: absolute;
  left: 12%;
  top: 14%;
  width: 70%;
  padding: 14px 16px;
  border-radius: 10px;
  background: #161a1f;
  border: 1px solid rgba(16, 255, 140, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.fx-zoom-kicker {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--muted-2);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fx-zoom-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-soft);
  line-height: 1.2;
  margin-bottom: 0.45rem;
}
.fx-zoom-line {
  font-size: 0.78rem;
  color: #e4e4e7;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.fx-lens--sm .fx-zoom-title { font-size: 0.82rem; }
.fx-lens--sm .fx-zoom-line { font-size: 0.65rem; }

.fx-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}
.fx-cross::before,
.fx-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.75);
}
.fx-cross::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.fx-cross::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

/* Docked panel */
.fx-dock {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 48%;
  height: 44%;
  min-width: 120px;
  min-height: 78px;
  border-radius: 10px;
  border: 2px solid var(--green);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 22px var(--green-glow);
  overflow: hidden;
  z-index: 6;
  background: #0c100e;
  pointer-events: none;
}
.fx-dock-bar {
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  background: rgba(16, 255, 140, 0.14);
  border-bottom: 1px solid rgba(16, 255, 140, 0.28);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
}
.fx-dock-zoom {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  bottom: 0;
  overflow: hidden;
}
.fx-dock-zoom .fx-zoom-card {
  left: 8%;
  top: 10%;
  width: 84%;
  will-change: transform;
}
.fx-dock-zoom .fx-zoom-title {
  font-size: 1.15rem;
}

.product-caption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
}

/* ─── Trust ─── */
.trust {
  position: relative;
  z-index: 1;
  padding: 0.15rem 0 1.1rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-pill svg { color: var(--green); flex-shrink: 0; }

/* ─── Sections ─── */
section { position: relative; z-index: 1; }
.section {
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}
.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 22px var(--green-glow);
  display: inline-block;
}
.pc-section-head .section-kicker {
  font-size: clamp(0.98rem, 1.7vw, 1.15rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Legacy bento (download page / other) */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.7rem;
}
.bento-card {
  grid-column: span 4;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.05rem 1.1rem 1rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}
.bento-card.wide { grid-column: span 6; }
.bento-card.tall { grid-column: span 4; }
.bento-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  border: 1px solid rgba(16, 255, 140, 0.2);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.bento-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.bento-tag {
  display: inline-flex;
  margin-top: 0.65rem;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.bento-tag.optional {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ─── Feature slabs (innovador, no grid de cards) ─── */
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 920px;
  margin-inline: auto;
}
.feat-slab {
  display: grid;
  grid-template-columns: 3.25rem 1fr minmax(100px, 140px);
  align-items: center;
  gap: 0.85rem 1.15rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(16, 255, 140, 0.04), transparent 42%),
    var(--surface);
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.feat-slab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.feat-slab:hover {
  border-color: var(--border-strong);
  background:
    linear-gradient(135deg, rgba(16, 255, 140, 0.08), transparent 50%),
    var(--surface-hover);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transform: translateX(3px);
}
.feat-slab:hover::before {
  background: var(--accent);
  box-shadow: 0 0 12px var(--green-glow);
}
.feat-idx {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.feat-slab:hover .feat-idx {
  color: var(--accent);
  text-shadow: 0 0 18px var(--green-glow);
}
.feat-copy {
  min-width: 0;
}
.feat-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.feat-copy h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  color: var(--text);
}
.feat-title-row h3 { margin-bottom: 0; }
.feat-copy p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 42ch;
}
.feat-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-family: var(--font-mono);
}

/* Mini visual stage */
.feat-visual {
  position: relative;
  width: 100%;
  height: 72px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    #0a0b0d;
  background-size: 12px 12px, 12px 12px, auto;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.feat-slab:hover .feat-visual {
  transform: scale(1.04);
  border-color: rgba(16, 255, 140, 0.28);
  box-shadow: 0 0 20px rgba(16, 255, 140, 0.12);
}

/* 01 lens */
.feat-visual--lens .fv-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 14px var(--green-glow), inset 0 0 10px rgba(16, 255, 140, 0.12);
  background: rgba(12, 24, 18, 0.5);
}
.feat-visual--lens .fv-cross {
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
}
.feat-visual--lens .fv-cross::before,
.feat-visual--lens .fv-cross::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--red);
  box-shadow: 0 0 6px rgba(248, 113, 113, 0.7);
}
.feat-visual--lens .fv-cross::before {
  width: 12px; height: 2px; transform: translate(-50%, -50%);
}
.feat-visual--lens .fv-cross::after {
  width: 2px; height: 12px; transform: translate(-50%, -50%);
}
.feat-visual--lens .fv-badge {
  position: absolute;
  right: 8px; bottom: 7px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

/* 02 click-through */
.feat-visual--click .fv-win {
  position: absolute;
  left: 14%; top: 18%;
  width: 52%; height: 58%;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(30, 32, 38, 0.9);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
.feat-visual--click .fv-win::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feat-visual--click .fv-arrow {
  position: absolute;
  left: 48%; top: 42%;
  width: 28px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--green-glow);
  transform: rotate(-28deg);
}
.feat-visual--click .fv-arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--accent);
}
.feat-visual--click .fv-pointer {
  position: absolute;
  right: 18%; bottom: 20%;
  width: 10px; height: 13px;
  background: #f4f4f5;
  clip-path: polygon(0 0, 0 100%, 30% 72%, 48% 100%, 62% 94%, 40% 62%, 100% 58%);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* 03 modes */
.feat-visual--modes .fv-circle {
  position: absolute;
  left: 22%; top: 50%;
  width: 34px; height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 12px var(--green-glow);
  background: rgba(16, 255, 140, 0.08);
}
.feat-visual--modes .fv-dock {
  position: absolute;
  right: 12%; bottom: 14%;
  width: 38%; height: 36%;
  border-radius: 5px;
  border: 2px solid var(--accent);
  background: rgba(16, 255, 140, 0.1);
  box-shadow: 0 0 10px var(--green-glow);
}

/* 04 filters */
.feat-visual--filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0a0b0d;
}
.feat-visual--filters .fv-swatch {
  width: 18px; height: 36px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
}
.feat-visual--filters .s1 { background: linear-gradient(180deg, #f4f4f5, #18181b); }
.feat-visual--filters .s2 { background: linear-gradient(180deg, #34d399, #064e3b); }
.feat-visual--filters .s3 { background: linear-gradient(180deg, #a1a1aa, #3f3f46); }
.feat-visual--filters .s4 { background: linear-gradient(180deg, #fbbf24, #7c2d12); }

/* 05 keys */
.feat-visual--keys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #0a0b0d;
}
.feat-visual--keys .fv-key {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text);
  background: #1c1c20;
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 6px;
  padding: 0.35rem 0.4rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
}
.feat-visual--keys .fv-key:last-child {
  color: var(--on-accent);
  background: var(--accent);
  border-color: rgba(16, 255, 140, 0.5);
}

/* 06 ocr */
.feat-visual--ocr .fv-lines {
  position: absolute;
  left: 14%; top: 22%;
  width: 48%;
  height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,0.14);
  box-shadow:
    0 12px 0 rgba(255,255,255,0.1),
    0 24px 0 rgba(255,255,255,0.07);
}
.feat-visual--ocr .fv-wave {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(16, 255, 140, 0.12), 0 0 0 10px rgba(16, 255, 140, 0.06);
}
.feat-visual--ocr .fv-wave::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--accent);
}

.features-extra {
  text-align: center;
  margin-top: 0.95rem;
  font-size: 0.8rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .feat-slab {
    grid-template-columns: 2.5rem 1fr;
    grid-template-areas:
      "idx copy"
      "vis vis";
    gap: 0.55rem 0.75rem;
    padding: 0.85rem 0.95rem;
  }
  .feat-idx { grid-area: idx; }
  .feat-copy { grid-area: copy; }
  .feat-visual {
    grid-area: vis;
    height: 64px;
    max-width: 200px;
    margin-left: auto;
  }
  .feat-slab:hover { transform: none; }
}

/* Modes */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.modes-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin-inline: auto;
}
.mode-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.mode-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.mode-preview {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.mode-live {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 0 12px var(--green-glow);
}
.mode-body {
  padding: 0.95rem 1.1rem 1.1rem;
}
.mode-body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.mode-body p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.15rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  margin-bottom: 0.7rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.step p { color: var(--muted); font-size: 0.92rem; }

/* Hotkeys */
.hotkey-panel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}
.hotkey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.hotkey-row:last-child { border-bottom: none; }
.hotkey-row span {
  color: var(--muted);
  font-size: 0.95rem;
}
.kbd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-soft);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(16, 255, 140,0.2);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}
.hotkey-note {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.88rem;
  margin-top: 1rem;
}

/* Install wizard (download section) */
.install-wizard {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at top right, rgba(16, 255, 140,0.1), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
    var(--surface);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.wizard-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 1.6rem;
  border-bottom: 1px solid var(--border);
}
.wizard-label {
  font-size: 0.8rem;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
}
.wizard-cta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.wizard-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.btn-download {
  flex-shrink: 0;
  min-width: 200px;
  padding: 0.9rem 1.55rem;
  font-size: 0.95rem;
}
.wizard-steps {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.wizard-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border);
}
.wizard-step:last-child { border-bottom: none; }
.wizard-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--on-accent);
  background: var(--accent);
  flex-shrink: 0;
}
.wizard-step h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.wizard-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.wizard-faq {
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.wizard-faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0.35rem;
}
.wizard-faq details:last-child { border-bottom: none; }
.wizard-faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  list-style: none;
}
.wizard-faq summary::-webkit-details-marker { display: none; }
.wizard-faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.1rem;
  color: var(--green);
  font-weight: 700;
}
.wizard-faq details[open] summary::before { content: "−"; }
.wizard-faq details p {
  margin-top: 0.55rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .wizard-cta { flex-direction: column; align-items: stretch; }
  .btn-download { width: 100%; }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 1.35rem 0 1.75rem;
  margin-top: 0.35rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.footer-brand span { color: var(--green); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--green); }
.footer-copy {
  width: 100%;
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile nav panel */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.35rem;
    background: rgba(7, 8, 7, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }
  .nav-cta {
    margin-left: 0;
    justify-content: center;
    margin-top: 0.35rem;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-lead { max-width: none; }
  .hero-stats { max-width: none; }
  .bento-card,
  .bento-card.wide,
  .bento-card.tall { grid-column: span 12; min-height: 0; }
  .modes-grid,
  .modes-grid-2,
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hotkey-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Panel lupas: NOT killed here — Windows "disable animations" sets this media
     query and would freeze decorative ambient. Motion is gated by .pc-ambient--animate
     (panel-ambient.js / toggle "Animar fondo"). */
  /* Demos still move via JS (product showcase); only soften page chrome */
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover,
  .bento-card:hover,
  .mode-card:hover { transform: none; }
}

@media (max-width: 720px) {
  .fx-win--notes { display: none; }
  .fx-win--mail {
    width: 84%;
    left: 8%;
    height: 70%;
  }
  .fx-lens {
    width: 110px;
    height: 110px;
    margin-left: -55px;
    margin-top: -55px;
  }
}

/* ─── Panel de control (guía de Ajustes) ─── */
/* Intro unido a la columna — alineado a la izquierda como las secciones */
.pc-intro {
  text-align: left;
  padding: 0.15rem 0 1.2rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--border);
}
.pc-intro .eyebrow {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0.75rem;
}
.pc-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.pc-intro h1 em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
}
.pc-intro-lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0 0 0.65rem;
}
.pc-open-hint {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-2);
  max-width: 42rem;
  line-height: 1.5;
}

/* ─── Panel ambient: full document height, empty right rail only ─── */
.pc-page-shell {
  position: relative;
  min-height: 100vh;
}
.page-panel .pc-page-shell > .site-header,
.page-panel .pc-page-shell > main,
.page-panel .pc-page-shell > .site-footer {
  position: relative;
  z-index: 1;
}
/* bg-fx stays fixed behind everything */
.page-panel .pc-page-shell > .bg-fx {
  position: fixed;
  z-index: 0;
}

.pc-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height set by panel-ambient.js to full document scrollHeight */
  min-height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* No mask — JS parks lenses only in the empty right rail */
}
.pc-ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(16, 255, 140, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 255, 140, 0.5) 1px, transparent 1px);
  background-size: 44px 44px;
}
.pc-ambient-glow {
  position: absolute;
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(16, 255, 140, 0.2) 0%,
    rgba(16, 255, 140, 0.06) 40%,
    transparent 70%
  );
  /* motion only when .pc-ambient--animate (see below) */
  animation: none;
  will-change: transform;
}
.pc-ambient-glow.g1 {
  top: 8%;
  right: 2%;
}
.pc-ambient-glow.g2 {
  top: 58%;
  right: 0;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  opacity: 0.9;
}
.pc-float-lens {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(16, 255, 140, 0.9);
  opacity: 0.38;
  box-shadow:
    0 0 0 1px rgba(16, 255, 140, 0.15),
    0 0 32px rgba(16, 255, 140, 0.28),
    inset 0 0 28px rgba(16, 255, 140, 0.1);
  background: radial-gradient(circle at 40% 35%, rgba(16, 255, 140, 0.16), transparent 62%);
  /* Default: static until --animate (Windows reduce-motion no longer blocks) */
  animation: none;
  will-change: transform;
  right: 6%;
  left: auto;
}
.pc-float-lens::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42%;
  height: 42%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat;
  opacity: 0.75;
}
.pc-float-lens::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
  right: -14px;
  bottom: 8px;
  transform: rotate(42deg);
  box-shadow: 0 0 12px var(--accent-glow);
}
/* Fallback slots before JS runs (JS overwrites top/left in px) */
.pc-float-lens.l1 { top: 5%;  right: 8%;  width: 48px;  height: 48px;  opacity: 0.36; }
.pc-float-lens.l2 { top: 14%; right: 18%; width: 68px;  height: 68px;  opacity: 0.4; }
.pc-float-lens.l3 { top: 26%; right: 5%;  width: 44px;  height: 44px;  opacity: 0.34; }
.pc-float-lens.l4 { top: 38%; right: 14%; width: 56px;  height: 56px;  opacity: 0.38; }
.pc-float-lens.l5 { top: 50%; right: 7%;  width: 72px;  height: 72px;  opacity: 0.42; }
.pc-float-lens.l6 { top: 62%; right: 20%; width: 40px;  height: 40px;  opacity: 0.32; }
.pc-float-lens.l7 { top: 72%; right: 4%;  width: 60px;  height: 60px;  opacity: 0.37; }
.pc-float-lens.l8 { top: 82%; right: 16%; width: 50px;  height: 50px;  opacity: 0.35; }
.pc-float-lens.l9 { top: 92%; right: 9%;  width: 64px;  height: 64px;  opacity: 0.39; }

/* Decorative motion — independent of prefers-reduced-motion / Windows */
.pc-ambient--animate .pc-float-lens {
  animation: pcLensFloat 12s ease-in-out infinite;
}
.pc-ambient--animate .pc-float-lens.l1 { animation-duration: 11s; animation-delay: 0s; }
.pc-ambient--animate .pc-float-lens.l2 { animation-duration: 14s; animation-delay: -2s; }
.pc-ambient--animate .pc-float-lens.l3 { animation-duration: 10s; animation-delay: -4s; }
.pc-ambient--animate .pc-float-lens.l4 { animation-duration: 13s; animation-delay: -1s; }
.pc-ambient--animate .pc-float-lens.l5 { animation-duration: 15s; animation-delay: -5s; }
.pc-ambient--animate .pc-float-lens.l6 { animation-duration: 11s; animation-delay: -3s; }
.pc-ambient--animate .pc-float-lens.l7 { animation-duration: 12s; animation-delay: -6s; }
.pc-ambient--animate .pc-float-lens.l8 { animation-duration: 13s; animation-delay: -2.5s; }
.pc-ambient--animate .pc-float-lens.l9 { animation-duration: 14s; animation-delay: -7s; }
.pc-ambient--animate .pc-ambient-glow {
  animation: pcGlowDrift 14s ease-in-out infinite;
}
.pc-ambient--animate .pc-ambient-glow.g2 {
  animation-duration: 18s;
  animation-delay: -6s;
}
.pc-ambient--animate .pc-hero-lens {
  animation: pcHeroTravel 36s ease-in-out infinite;
}

@keyframes pcLensFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  25% { transform: translate3d(-28px, -90px, 0) rotate(10deg) scale(1.08); }
  50% { transform: translate3d(18px, -40px, 0) rotate(-8deg) scale(0.94); }
  75% { transform: translate3d(-12px, 70px, 0) rotate(6deg) scale(1.05); }
}
@keyframes pcGlowDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  50% { transform: translate3d(-8%, 12%, 0) scale(1.15); opacity: 0.8; }
}

/* Hero lens: base position from JS; travel uses --pc-hero-travel (px down page) */
.pc-hero-lens {
  position: absolute;
  top: 5%;
  right: 10%;
  left: auto;
  width: 120px;
  height: 120px;
  animation: none;
  opacity: 0.45;
  will-change: transform;
  --pc-hero-travel: 1200px;
}
.pc-hero-lens-glass {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(16, 255, 140, 0.95);
  box-shadow:
    0 0 0 1px rgba(16, 255, 140, 0.18),
    0 0 44px rgba(16, 255, 140, 0.32),
    inset 0 0 40px rgba(16, 255, 140, 0.12);
  background:
    radial-gradient(circle at 35% 30%, rgba(16, 255, 140, 0.2), transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(0, 0, 0, 0.28) 100%);
  position: relative;
}
.pc-hero-lens-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36%;
  height: 36%;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
  opacity: 0.8;
}
.pc-hero-lens-glass::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  right: -26px;
  bottom: 16px;
  transform: rotate(42deg);
  box-shadow: 0 0 16px var(--accent-glow);
}
@keyframes pcHeroTravel {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  25% { transform: translate3d(-30px, calc(var(--pc-hero-travel, 1200px) * 0.35), 0) rotate(4deg); }
  50% { transform: translate3d(12px, var(--pc-hero-travel, 1200px), 0) rotate(10deg); }
  75% { transform: translate3d(-18px, calc(var(--pc-hero-travel, 1200px) * 0.55), 0) rotate(-4deg); }
}
.page-panel .bg-fx .orb-a { opacity: 0.55; }
.page-panel .bg-fx .orb-b { opacity: 0.5; }

/* Mobile tweaks are mostly handled by panel-ambient.js gutter logic */

/* TOC pegado a la izquierda + contenido (misma altura desde arriba) */
.pc-layout {
  display: grid;
  grid-template-columns: 188px minmax(0, 720px);
  gap: 1.25rem 2rem;
  align-items: start;
  justify-content: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.15rem 1.25rem 2.5rem 1rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
.pc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-self: start;
  width: 100%;
  /* Alinea con el intro: mismo “techo” visual */
  margin-top: 0;
}
.pc-toc-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 0.2rem 0.55rem 0.55rem;
}
.pc-toc a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.pc-toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.pc-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.pc-section {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.pc-section-head {
  margin-bottom: 1rem;
  max-width: 40rem;
}
.pc-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.pc-section-head p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Mock settings window */
.pc-mock {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #050506;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1rem;
  max-width: 640px;
}
.pc-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: #000;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted-2);
}
.pc-mock-chrome i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3f3f46;
}
.pc-mock-chrome i:nth-child(1) { background: #ff5f57; }
.pc-mock-chrome i:nth-child(2) { background: #febc2e; }
.pc-mock-chrome i:nth-child(3) { background: #28c840; }
.pc-mock-chrome span { margin-left: 0.35rem; }
.pc-mock-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 200px;
}
.pc-mock-side {
  padding: 0.65rem 0.45rem;
  border-right: 1px solid var(--border);
  background: #08080a;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pc-mock-side span {
  font-size: 0.72rem;
  color: var(--muted-2);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}
.pc-mock-side span.on {
  color: var(--on-accent);
  background: var(--accent);
  font-weight: 600;
}
.pc-mock-content {
  padding: 0.75rem 0.85rem 0.9rem;
  background: #0a0a0c;
}
.pc-mock-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.pc-mock-sub {
  font-size: 0.72rem;
  color: var(--muted-2);
  margin-bottom: 0.65rem;
}
.pc-mock-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #101014;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
}
.pc-mock-card-h {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.45rem;
}
.pc-mock-slider {
  height: 6px;
  border-radius: 99px;
  background: #1c1c20;
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.pc-mock-slider b {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  box-shadow: 0 0 8px var(--accent-glow);
}
.pc-mock-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-soft);
}
.pc-mock-seg {
  display: flex;
  gap: 4px;
  background: #0a0a0c;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.pc-mock-seg b {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem;
  border-radius: 6px;
  color: var(--muted);
}
.pc-mock-seg b.on {
  background: var(--accent);
  color: var(--on-accent);
}
.pc-mock-spins {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
}
.pc-mock-spins span:not(:nth-child(2)) {
  border: 1px solid var(--border);
  background: #0a0a0c;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}
.pc-mock-combo {
  font-size: 0.8rem;
  color: var(--text);
  border: 1px solid var(--border);
  background: #0a0a0c;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pc-mock-combo .sw {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
}
.pc-mock-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.pc-mock-radios span.on { color: var(--accent-soft); font-weight: 600; }
.pc-mock-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.pc-mock-list span.on { color: var(--accent-soft); font-weight: 600; }
.pc-mock-hk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pc-mock-hk:last-child { border-bottom: none; }
.pc-mock-hk kbd {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text);
  background: #1c1c20;
  border: 1px solid var(--border);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}
.pc-mock-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.pc-mock-foot .pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
}
.pc-mock-foot .pill.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.pc-mock-lens-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.pc-mock-lens-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.08), transparent 50%), #0c100e;
  position: relative;
}
.pc-mock-lens-circle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--red);
  box-shadow: 0 0 0 0, 5px 0 0 0 var(--red), -5px 0 0 0 transparent;
}
.pc-mock-lens-label {
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* Control list */
.pc-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 720px;
}
.pc-control {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title meta"
    "desc desc";
  gap: 0.15rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}
.pc-control:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.pc-control h3 {
  grid-area: title;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pc-control p {
  grid-area: desc;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}
.pc-meta {
  grid-area: meta;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-soft);
  white-space: nowrap;
  align-self: start;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 255, 140, 0.25);
  background: var(--accent-dim);
}
.pc-cta-block {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(16, 255, 140, 0.08), transparent 55%),
    var(--surface);
  text-align: center;
  max-width: 640px;
}
.pc-cta-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.pc-cta-block p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
  .pc-layout {
    grid-template-columns: 1fr;
    padding: 0 1.1rem 2rem;
  }
  .pc-toc {
    position: relative;
    top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .pc-toc-label { width: 100%; }
  .pc-toc a { font-size: 0.82rem; }
  .pc-float-lens.l4,
  .pc-float-lens.l5 { display: none; }
}
@media (max-width: 560px) {
  .pc-mock-body { grid-template-columns: 1fr; }
  .pc-mock-side {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .pc-control {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "meta" "desc";
  }
  .pc-meta { justify-self: start; }
}

/* ─── Interactive demos (landing) — lens + dock practice stage ─── */
.live-wrap {
  max-width: 920px;
  margin-inline: auto;
}
.live-mode-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.live-mode-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
}
.live-mode-btn.is-on,
.live-mode-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}
.live-lens,
.live-stage {
  position: relative;
  height: 420px;
  min-height: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: crosshair;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    #0a0a0c;
  background-size: 22px 22px, 22px 22px, auto;
  user-select: none;
  touch-action: none;
}
.live-lens-scene {
  position: absolute;
  inset: 0;
  padding: 1rem 1.1rem 1.8rem;
  pointer-events: none;
  box-sizing: border-box;
}
.live-scene-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: calc(100% - 1.4rem);
}
.live-win {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #12141a;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.live-win-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 26px;
  padding: 0 8px;
  background: #1a1c22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted-2);
  flex-shrink: 0;
}
.live-dots {
  width: 32px;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 4px 50%, #ff5f57 3px, transparent 3.5px),
    radial-gradient(circle at 13px 50%, #febc2e 3px, transparent 3.5px),
    radial-gradient(circle at 22px 50%, #28c840 3px, transparent 3.5px);
  flex-shrink: 0;
}
.live-win-body {
  padding: 0.65rem 0.75rem;
  flex: 1;
  min-height: 0;
}
.live-win-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 0.3rem;
}
.live-win-line {
  font-size: 0.72rem;
  color: #d4d4d8;
  line-height: 1.4;
  margin-bottom: 0.2rem;
}
.live-win-line.muted { color: var(--muted-2); }
.live-media-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.live-app-img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(16, 255, 140, 0.35);
  box-shadow: 0 0 16px var(--accent-glow);
  flex-shrink: 0;
  background: #000;
}
.live-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 0.45rem;
}
.live-table span {
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.live-table span.hi {
  background: rgba(16, 255, 140, 0.45);
  box-shadow: 0 0 8px var(--accent-glow);
}
.live-photo {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(16,255,140,0.2), transparent 50%),
    linear-gradient(145deg, #101510, #0a0c10);
  min-height: 100%;
}
.live-photo img {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
}
.live-photo-cap {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: var(--muted-2);
}
.live-scene-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--muted-2);
  margin: 0;
}

.live-lens-glass {
  position: absolute;
  width: 150px;
  height: 150px;
  left: 40%;
  top: 45%;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 0 28px var(--accent-glow);
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
  opacity: 1;
  background: #0a0a0c;
  clip-path: circle(50% at 50% 50%);
  contain: paint;
}
.live-stage[data-live-mode="dock"] .live-lens-glass {
  display: none;
}
.live-dock {
  display: none;
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42%;
  min-width: 160px;
  height: 38%;
  min-height: 120px;
  border-radius: 12px;
  border: 2.5px solid var(--accent);
  box-shadow: 0 0 24px var(--accent-glow), 0 12px 32px rgba(0,0,0,0.45);
  overflow: hidden;
  z-index: 4;
  background: #0a0a0c;
  pointer-events: none;
}
.live-stage[data-live-mode="dock"] .live-dock {
  display: block;
}
.live-dock-bar {
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-soft);
  background: rgba(16, 255, 140, 0.12);
  border-bottom: 1px solid rgba(16, 255, 140, 0.28);
}
.live-dock-view {
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  bottom: 0;
  overflow: hidden;
}
.live-lens-zoom {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}
.live-lens-clone-inner {
  position: absolute !important;
  inset: 0 !important;
  padding: 1rem 1.1rem 1.8rem !important;
  box-sizing: border-box !important;
}
.live-cursor {
  display: none;
  position: absolute;
  width: 14px;
  height: 18px;
  z-index: 6;
  pointer-events: none;
  background: #f4f4f5;
  clip-path: polygon(0 0, 0 82%, 22% 64%, 40% 100%, 54% 94%, 34% 56%, 68% 56%);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.55));
}
.live-stage[data-live-mode="dock"] .live-cursor {
  display: block;
}
.live-lens-hint {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
@media (max-width: 720px) {
  .live-stage { height: 360px; }
  .live-scene-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .live-app-img { width: 52px; height: 52px; }
  .live-dock { width: 48%; height: 36%; }
}

/* Before / after compare */
.compare {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 200px;
  background: #0a0a0c;
  touch-action: none;
  cursor: ew-resize;
  user-select: none;
}
.compare-pane {
  position: absolute;
  inset: 0;
  padding: 1.25rem 1.35rem;
}
.compare-pane h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.compare-pane p {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 34ch;
  color: var(--muted);
}
.compare-before {
  background: #f4f4f5;
  color: #18181b;
  z-index: 1;
}
.compare-before h3 { color: #111; }
.compare-before p { color: #3f3f46; }
.compare-after {
  z-index: 2;
  background: #000;
  color: #fff;
  clip-path: inset(0 0 0 52%);
}
.compare-after h3 { color: #ffff00; }
.compare-after p { color: #f5f5f5; filter: invert(0); }
.compare-after .compare-badge { background: #ffff00; color: #000; }
.compare-before .compare-badge {
  background: #e4e4e7;
  color: #18181b;
}
.compare-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 52%;
  width: 3px;
  background: var(--accent);
  z-index: 4;
  box-shadow: 0 0 12px var(--accent-glow);
  pointer-events: none;
  transform: translateX(-50%);
}
.compare-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.compare-range {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

/* Hotkey play box */
.hotkey-play {
  --hk-zoom: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem;
  outline: none;
  overflow: hidden;
}
.hotkey-play:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.hotkey-play-sample-wrap {
  overflow: hidden;
  max-width: 100%;
  padding: 0.5rem 0;
}
.hotkey-play-sample {
  display: inline-block;
  max-width: 100%;
  transform: scale(var(--hk-zoom));
  transform-origin: left center;
  transition: transform 0.15s ease;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hotkey-play-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 0.5rem;
  overflow-wrap: anywhere;
}

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.roadmap-item {
  padding: 1.2rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.roadmap-item .tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.roadmap-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.roadmap-item p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .roadmap { grid-template-columns: 1fr; }
  .live-lens { height: 240px; cursor: crosshair; }
}
