/* CleaMac — web
   Dark-first. Tokens first, components after. */

:root {
  color-scheme: dark;

  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #0f1117;
  --surface-2: #141720;
  --surface-3: #1a1e29;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #eceef3;
  --text-2: #b4b9c6;
  --muted: #8a90a0;
  --dim: #5f6575;

  --accent-a: #6e5bff;
  --accent-b: #2fd5c9;
  --accent: linear-gradient(100deg, var(--accent-a) 0%, var(--accent-b) 100%);

  --c-apps: #5b8cff;
  --c-docs: #34c3a0;
  --c-img: #f5b83d;
  --c-video: #ff6b8a;
  --c-audio: #b57bff;
  --c-zip: #ff9f43;
  --c-dev: #3dd6f5;
  --c-appdata: #8e9aaf;
  --c-cache: #7be07b;
  --c-system: #4a5068;

  --safe: #3ddc84;
  --review: #f5c13d;
  --protected: #ff5a5f;

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1160px;
  --gutter: 24px;

  --font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(110, 91, 255, 0.45); }

:focus-visible {
  outline: 2px solid var(--accent-b);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.grad-text {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(7, 8, 11, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand svg { width: 26px; height: 26px; }
.nav__links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav__links a { transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary {
  background: #f4f5f8;
  color: #0a0b0f;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 8px 30px -10px rgba(110, 91, 255, .55);
}
.btn--primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 10px 40px -10px rgba(47, 213, 201, .6); }
.btn--ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,.2); }
.btn--accent {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 30px -8px rgba(110, 91, 255, .6);
}
.btn--accent:hover { filter: brightness(1.08); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn--sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow-x: clip;
  padding: 96px 0 40px;
  isolation: isolate;
}
.hero::before {
  /* grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero::after {
  /* glow */
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -120px;
  width: min(1100px, 140vw);
  height: 640px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 35% 50%, rgba(110, 91, 255, .32), transparent 70%),
    radial-gradient(closest-side at 68% 45%, rgba(47, 213, 201, .20), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__copy { text-align: center; max-width: 1000px; margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: 13px;
  color: var(--text-2);
}
.eyebrow__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}
.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(38px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 650;
}
.hero h1 .soft { color: var(--muted); }
.hero__lead {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-2);
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero__meta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 14px; height: 14px; color: var(--accent-b); }

/* -------------------------------------------------------------- mockup */
.stage {
  position: relative;
  margin: 64px auto 0;
  max-width: 1080px;
  perspective: 2000px;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 8% 6% -4%;
  background: var(--accent);
  filter: blur(80px);
  opacity: .22;
  border-radius: 40px;
  z-index: -1;
}
.win {
  border-radius: 14px;
  background: linear-gradient(180deg, #12141b, #0c0e13);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.6),
    0 40px 120px -20px rgba(0,0,0,.8),
    0 1px 0 rgba(255,255,255,.08) inset;
  overflow: hidden;
  font-size: 12.5px;
  text-align: left;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; display: block; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.win__title { font-weight: 600; font-size: 13px; color: var(--text-2); }
.seg {
  margin-left: auto;
  display: inline-flex;
  padding: 3px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  font-size: 11.5px;
}
.seg span { padding: 3px 10px; border-radius: 6px; color: var(--muted); }
.seg span.on { background: rgba(255,255,255,.1); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.win__search {
  display: flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 7px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--dim); width: 210px; font-size: 11.5px; white-space: nowrap; overflow: hidden;
}
.win__search svg { width: 12px; height: 12px; }

.win__body { display: grid; grid-template-columns: 200px 1fr; min-height: 470px; }
.side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  background: rgba(255,255,255,.012);
}
.side h6 {
  margin: 10px 8px 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.side h6:first-child { margin-top: 0; }
.side a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--text-2);
}
.side a.on { background: rgba(110, 91, 255, .18); color: #fff; }
.side a .ic { width: 14px; height: 14px; color: var(--muted); flex: none; }
.side a.on .ic { color: #b9b0ff; }
.side a { white-space: nowrap; }
.side a .count { margin-left: auto; color: var(--dim); font-family: var(--mono); font-size: 10.5px; }

.main { padding: 18px 20px 14px; min-width: 0; }
.disk {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.disk__name { font-weight: 600; font-size: 14px; }
.disk__meta { color: var(--muted); }
.disk__meta b { color: var(--text); font-weight: 500; }
.storage {
  margin-top: 12px;
  display: flex;
  height: 14px;
  border-radius: 5px;
  overflow: hidden;
  gap: 2px;
  background: rgba(255,255,255,.04);
}
.storage i { display: block; height: 100%; }
.storage i.purg {
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 3px, rgba(255,255,255,.05) 3px 6px);
}
.storage i.free { background: transparent; flex: 1; }
.legend {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 11px;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: block; }

.toolbar {
  margin-top: 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 11px;
  background: rgba(255,255,255,.02);
}
.chip.on { border-color: rgba(110,91,255,.6); background: rgba(110,91,255,.12); color: #d6d0ff; }
.toolbar .spacer { flex: 1; }
.toolbar .export { color: var(--muted); font-size: 11px; display: inline-flex; gap: 5px; align-items: center; }
.toolbar .export svg { width: 12px; height: 12px; }

.tbl { margin-top: 10px; width: 100%; border-collapse: collapse; table-layout: fixed; }
.tbl th {
  text-align: left;
  font-weight: 500;
  color: var(--dim);
  font-size: 11px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl th .arrow { color: var(--accent-b); margin-left: 3px; }
.tbl th .ord { font-family: var(--mono); font-size: 9px; color: var(--accent-b); vertical-align: super; }
.tbl td {
  padding: 8px 8px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-2);
}
.tbl tr.sel td { background: rgba(110, 91, 255, .10); }
.tbl tr.sel td:first-child { box-shadow: inset 2px 0 0 var(--accent-a); }
.tbl .name { display: flex; align-items: center; gap: 8px; color: var(--text); min-width: 0; }
.tbl .name span { overflow: hidden; text-overflow: ellipsis; }
.tbl .name small { color: var(--dim); font-size: 11px; margin-left: 2px; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fico { width: 15px; height: 15px; flex: none; color: var(--muted); }
.sizecell { display: flex; align-items: center; gap: 10px; }
.sizebar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; min-width: 40px; }
.sizebar i { display: block; height: 100%; border-radius: 3px; }
.sizecell .num { color: var(--text); width: 56px; text-align: right; font-size: 11.5px; }
.risk { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.risk i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.risk--safe i { background: var(--safe); box-shadow: 0 0 8px rgba(61,220,132,.6); }
.risk--review i { background: var(--review); box-shadow: 0 0 8px rgba(245,193,61,.5); }
.risk--protected i { background: var(--protected); box-shadow: 0 0 8px rgba(255,90,95,.5); }

.win__foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-2);
}
.win__foot b { color: var(--text); font-weight: 600; }
.win__foot .btn { margin-left: auto; height: 28px; font-size: 12px; padding: 0 12px; border-radius: 7px; }

/* ------------------------------------------------------------- logos / proof strip */
.strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.strip > div { padding: 22px 22px; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip b { display: block; font-family: var(--font); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.strip span { color: var(--muted); font-size: 13.5px; }

/* ----------------------------------------------------------- sections */
.section { padding: 120px 0 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-b);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.section h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 620;
}
.section h2 .soft { color: var(--muted); }
.section__head p { margin: 16px 0 0; color: var(--text-2); font-size: 17px; }

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  padding: 28px;
}
.card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.card p { color: var(--text-2); margin: 10px 0 0; }

/* ---- Dos modos */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.mode__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-cache); display: block; }
.mode--pro .mode__label i { background: var(--accent-a); }
.mode ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.mode li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.mode li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-b); }

.steps {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.step {
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03);
  padding: 14px 10px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
}
.step small { display: block; color: var(--dim); font-family: var(--mono); font-size: 10.5px; margin-bottom: 4px; }
.step.last { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -10px rgba(110,91,255,.7); }
.step.last small { color: rgba(255,255,255,.75); }
.steps .arr { color: var(--dim); width: 16px; height: 16px; }

.minitable {
  margin-top: 26px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  overflow: hidden;
  font-size: 12.5px;
}
.minitable div { display: grid; grid-template-columns: 1.6fr 1fr 70px; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--line); color: var(--text-2); align-items: center; }
.minitable div:first-child { border-top: 0; color: var(--dim); font-size: 11px; background: rgba(255,255,255,.02); }
.minitable .num { text-align: right; color: var(--text); }
.minitable span.n { display: flex; align-items: center; gap: 8px; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---- Vistas */
.views { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.view { background: var(--bg-2); padding: 26px 24px 28px; transition: background .2s; }
.view:hover { background: var(--surface); }
.view__ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  margin-bottom: 18px;
}
.view__ic svg { width: 18px; height: 18px; }
.view h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.view p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pro-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  padding: 2px 6px; border-radius: 5px;
  background: rgba(110,91,255,.18); color: #c4bbff; border: 1px solid rgba(110,91,255,.35);
}

.cats {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cats span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13px;
  color: var(--text-2);
}
.cats i { width: 9px; height: 9px; border-radius: 3px; display: block; }

.features-row { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.feat svg { width: 20px; height: 20px; flex: none; color: var(--accent-b); margin-top: 2px; }
.feat b { display: block; font-weight: 600; }
.feat span { color: var(--muted); font-size: 14px; }
.feat .pro-badge, .feat .new-badge { font-size: 10px; color: #c4bbff; }
.feat .new-badge { color: #8ff0e8; }

/* ---- Protecciones */
.safety { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: stretch; }
.levels { display: grid; gap: 12px; }
.level {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.level__dot {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
}
.level__dot i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.level--safe .level__dot { background: rgba(61,220,132,.1); border: 1px solid rgba(61,220,132,.3); }
.level--safe .level__dot i { background: var(--safe); box-shadow: 0 0 14px var(--safe); }
.level--review .level__dot { background: rgba(245,193,61,.1); border: 1px solid rgba(245,193,61,.3); }
.level--review .level__dot i { background: var(--review); box-shadow: 0 0 14px var(--review); }
.level--protected .level__dot { background: rgba(255,90,95,.1); border: 1px solid rgba(255,90,95,.3); }
.level--protected .level__dot i { background: var(--protected); box-shadow: 0 0 14px var(--protected); }
.level b { font-weight: 600; font-size: 16px; }
.level b em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 6px; }
.level p { margin: 4px 0 0; color: var(--text-2); font-size: 14.5px; }

.guard { display: grid; gap: 0; padding: 8px 26px; }
.guard > div { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.guard > div:first-child { border-top: 0; }
.guard svg { width: 20px; height: 20px; flex: none; color: var(--text-2); margin-top: 2px; }
.guard b { display: block; font-weight: 600; }
.guard span { color: var(--muted); font-size: 14.5px; }

/* ---- Precisión técnica */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech .card { padding: 26px; }
.tech__fig {
  height: 120px;
  margin: -4px -4px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 16px;
}
.tech h3 { font-size: 17px; }
.tech p { font-size: 14.5px; }

.cmpbars { width: 100%; display: grid; gap: 10px; font-size: 11px; color: var(--muted); }
.cmpbars div { display: grid; grid-template-columns: 74px 1fr 52px; gap: 10px; align-items: center; }
.cmpbars .bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.05); overflow: hidden; }
.cmpbars .bar i { display: block; height: 100%; border-radius: 4px; }
.cmpbars .num { text-align: right; color: var(--text); }

.links-fig { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.links-fig .file {
  padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2);
}
.links-fig .blk {
  width: 54px; height: 54px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(110,91,255,.35), rgba(47,213,201,.35));
  border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; color: #fff; font-weight: 600;
}
.links-fig .col { display: grid; gap: 8px; }

.purg-fig { width: 100%; }
.purg-fig .storage { height: 16px; margin: 0; }
.purg-fig .legend { justify-content: space-between; }

/* ---- Comparativa */
.cmp-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-2);
}
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-weight: 600; font-size: 14px; color: var(--text-2); background: rgba(255,255,255,.015); position: sticky; top: 0; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--text-2); }
.cmp td:first-child { font-weight: 450; }
.cmp th.us { color: var(--text); }
.cmp td.us, .cmp th.us { background: rgba(110,91,255,.07); }
.cmp th.us { box-shadow: inset 0 2px 0 var(--accent-a); }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.yes { color: var(--text); }
.yes svg { width: 16px; height: 16px; color: var(--accent-b); }
.no { color: var(--dim); }
.no svg { width: 14px; height: 14px; }
.part { color: var(--muted); }
.part svg { width: 15px; height: 15px; color: var(--review); }
.cmp-note { color: var(--dim); font-size: 13px; margin-top: 14px; }

/* ---- Precios */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.price { padding: 32px; display: flex; flex-direction: column; }
.price--pro {
  background:
    linear-gradient(180deg, rgba(20, 18, 38, .96), rgba(10, 12, 17, .98)) padding-box,
    linear-gradient(140deg, rgba(110,91,255,.9), rgba(47,213,201,.7) 60%, rgba(255,255,255,.08)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(110, 91, 255, .45);
}
.price__name { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 15px; color: var(--text-2); }
.price__amount { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.price__amount b { font-size: 52px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.price__amount span { color: var(--muted); font-size: 14px; }
.price__desc { color: var(--text-2); margin: 12px 0 0; font-size: 15px; }
.price ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.price li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-b); }
.price li.dim { color: var(--dim); }
.price li.dim svg { color: var(--dim); }
.price__fine { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---- FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px; flex: none;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .a { padding: 0 4px 24px; color: var(--text-2); font-size: 15.5px; }
.faq .a p { margin: 0 0 12px; }
.faq .a p:last-child { margin-bottom: 0; }
.faq .a ol { margin: 0 0 12px; padding-left: 20px; }
.faq code, .kbd {
  font-family: var(--mono); font-size: .88em;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 1px 6px; color: var(--text);
}

/* ---- CTA final */
.final {
  margin-top: 140px;
  padding: 72px 32px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(110,91,255,.28), transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 100%, rgba(47,213,201,.14), transparent 70%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}
.final h2 { margin: 0; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.04em; line-height: 1.05; font-weight: 640; }
.final p { color: var(--text-2); margin: 16px auto 0; max-width: 520px; font-size: 17px; }
.final .hero__ctas { margin-top: 30px; }

/* ---- Footer */
.footer {
  margin-top: 100px;
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 14px;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.footer .brand { color: var(--text); margin-bottom: 12px; }

/* ---- Simple pages (gracias / próximamente / 404) */
.page {
  overflow-x: clip;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 64px 0 96px;
  position: relative;
  isolation: isolate;
}
.page::after {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; top: -80px; width: min(900px, 140vw); height: 480px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 40% 50%, rgba(110,91,255,.25), transparent 70%),
    radial-gradient(closest-side at 65% 50%, rgba(47,213,201,.15), transparent 70%);
  pointer-events: none;
}
.panel { width: 100%; max-width: 620px; padding: 40px; }
.panel h1 { margin: 0; font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 640; }
.panel > p { color: var(--text-2); font-size: 16.5px; margin: 14px 0 0; }
.panel__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent); margin-bottom: 24px;
  box-shadow: 0 12px 36px -10px rgba(110,91,255,.7);
}
.panel__icon svg { width: 24px; height: 24px; color: #fff; }

.keybox {
  margin-top: 28px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #090a0e;
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-all;
  user-select: all;
  -webkit-user-select: all;
  max-height: 180px;
  overflow: auto;
}
.keyactions { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.keyactions .ok { color: var(--safe); font-size: 13.5px; opacity: 0; transition: opacity .2s; }
.keyactions .ok.show { opacity: 1; }
.howto { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.howto li { counter-increment: s; position: relative; padding-left: 36px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.howto li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--text);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  transform: translateY(-1px);
}
.path { color: var(--text); font-weight: 500; }
.path i { font-style: normal; color: var(--dim); margin: 0 4px; }
.notice {
  margin-top: 22px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text-2);
}
.notice--error { border-color: rgba(255,90,95,.35); background: rgba(255,90,95,.07); }
.notice--warn { border-color: rgba(245,193,61,.35); background: rgba(245,193,61,.07); }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15); border-top-color: var(--accent-b);
  animation: spin .8s linear infinite; display: inline-block; vertical-align: -4px; margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.panel__foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.panel__foot a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .views { grid-template-columns: repeat(2, 1fr); }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech .card:last-child { grid-column: 1 / -1; }
  .win__body { grid-template-columns: 170px 1fr; }
  .tbl col.c-mod, .tbl .c-mod { display: none; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .modes, .safety, .pricing { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .win__body { grid-template-columns: 1fr; }
  .side { display: none; }
  .win__search { display: none; }
  .section { padding-top: 96px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 64px; }
  .hero h1 { letter-spacing: -0.03em; }
  .hero__ctas .btn { width: 100%; }
  .stage { margin-top: 44px; }
  .win { font-size: 11.5px; }
  .win__bar { height: 40px; gap: 10px; }
  .win__title { display: none; }
  .main { padding: 14px 12px 12px; }
  .tbl col.c-risk, .tbl .c-risk { display: none; }
  .tbl col.c-cat, .tbl .c-cat { display: none; }
  .tbl col.c-name { width: 52% !important; }
  .sizecell .num { width: 50px; }
  .legend span:nth-child(n+6) { display: none; }
  .toolbar .export, .toolbar .chip:nth-child(n+4) { display: none; }
  .win__foot { flex-wrap: wrap; }
  .win__foot .btn { margin-left: 0; width: 100%; }
  .views { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .strip b { font-size: 19px; }
  .strip > div { padding: 18px 16px; }
  .card, .price { padding: 24px 20px; }
  .guard { padding: 4px 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps .arr { transform: rotate(90deg); margin: 0 auto; }
  .final { padding: 52px 20px; margin-top: 110px; }
  .panel { padding: 28px 20px; }
  .nav__cta .btn--ghost { display: none; }
  .minitable div { grid-template-columns: 1.4fr 1fr 60px; }
}

/* ================================================================
   v2 additions: language switcher, 3-tier pricing, spotlight features
   ================================================================ */

/* ---- Language switcher */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--line-2); border-radius: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em;
  background: rgba(255,255,255,.02);
}
.lang a { padding: 5px 7px; border-radius: 6px; color: var(--muted); line-height: 1; transition: color .15s, background .15s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--text); }

/* ---- Badges */
.new-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  padding: 2px 6px; border-radius: 5px;
  background: rgba(47,213,201,.12); color: #8ff0e8; border: 1px solid rgba(47,213,201,.35);
}
.badge-note { margin-top: 14px; font-size: 13px; color: var(--dim); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badge-note span { display: inline-flex; gap: 6px; align-items: center; }

/* ---- Spotlight features */
.spot { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 20px; }
.spot .card { padding: 28px; display: flex; flex-direction: column; }
.spot .card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spot__fig {
  margin: -6px -6px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  padding: 18px;
  min-height: 168px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.spot__map { grid-row: span 3; }
.spot__map .spot__fig { flex: 1; min-height: 320px; }
.sunburst { width: min(100%, 500px); height: auto; }
.sb-wrap { position: relative; display: grid; place-items: center; }
.sb-center {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  font-size: 11px; color: var(--muted); pointer-events: none;
}
.sb-center b { display: block; font-family: var(--mono); font-size: 15px; color: var(--text); font-weight: 500; }
.sb-crumbs { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--dim); }
.sb-crumbs b { color: var(--text-2); font-weight: 500; }

.sysdata { width: 100%; display: grid; gap: 9px; font-size: 12.5px; }
.sysdata div { display: grid; grid-template-columns: 1fr 80px 58px; gap: 10px; align-items: center; color: var(--text-2); }
.sysdata .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; }
.sysdata .bar i { display: block; height: 100%; border-radius: 3px; background: var(--c-system); }
.sysdata .bar i.hl { background: var(--accent); }
.sysdata .num { text-align: right; color: var(--text); font-size: 11.5px; }
.sysdata .head { color: var(--dim); font-size: 11px; }

.menubar-fig { width: 100%; display: grid; gap: 12px; }
.menubar {
  height: 28px; border-radius: 7px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 12px;
  font-size: 11.5px; color: var(--text-2);
}
.menubar .mb-item { display: inline-flex; align-items: center; gap: 6px; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.1); color: var(--text); font-family: var(--mono); font-size: 11px; }
.menubar .mb-item i { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--accent-b) 0 37%, rgba(255,255,255,.25) 0); display: block; }
.menubar .dim { color: var(--dim); }
.toast {
  margin-left: auto; width: min(100%, 290px);
  border-radius: 12px; padding: 11px 13px; background: rgba(30,33,44,.92); border: 1px solid var(--line-2);
  display: flex; gap: 10px; font-size: 12px; color: var(--text-2); box-shadow: 0 16px 40px -16px rgba(0,0,0,.7);
}
.toast svg { width: 18px; height: 18px; flex: none; color: var(--review); margin-top: 1px; }
.toast b { color: var(--text); display: block; font-size: 12.5px; }

.sched { width: 100%; display: grid; gap: 10px; font-size: 12.5px; }
.sched__row { display: flex; gap: 8px; flex-wrap: wrap; }
.sched__log { display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.sched__log span b { color: var(--safe); font-weight: 500; }

/* ---- Pricing: three tiers */
.pricing--3 { grid-template-columns: repeat(3, 1fr); max-width: none; }
.price__amount b small { font-size: .5em; letter-spacing: -0.02em; color: var(--text-2); font-weight: 600; margin-left: 2px; }
.price__seats {
  margin-top: 14px; display: inline-flex; align-self: flex-start; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-2);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
}
.price__seats svg { width: 14px; height: 14px; color: var(--accent-b); }
.price-notes { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-notes .feat { padding: 20px; }

/* ---- Final CTA app icon */
.final__icon { width: 88px; height: 88px; margin: 0 auto 26px; filter: drop-shadow(0 18px 40px rgba(110,91,255,.45)); }

/* ---- Bilingual 404 */
.panel .alt-lang { margin-top: 18px; color: var(--muted); font-size: 14.5px; }
.panel .alt-lang a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .pricing--3 { grid-template-columns: 1fr 1fr; }
  .pricing--3 .price:first-child { grid-column: 1 / -1; }
  .price-notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .spot { grid-template-columns: 1fr; }
  .spot__map { grid-row: auto; }
  .pricing--3 { grid-template-columns: 1fr; }
  .nav__inner { gap: 16px; }
}
@media (max-width: 560px) {
  .price-notes { grid-template-columns: 1fr; }
  .spot .card { padding: 22px 18px; }
  .spot__fig { margin: 0 0 18px; padding: 14px; }
  .sysdata div { grid-template-columns: 1fr 50px 54px; }
  .nav__inner { gap: 10px; }
  .nav__cta { gap: 8px; }
  .lang a { padding: 5px 6px; }
}
.cmp { min-width: 880px; }
.cmp td small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.cmp td.us small { color: var(--muted); }
.cmp .yes, .cmp .no, .cmp .part { white-space: nowrap; }
.pricing--3 .price ul { align-content: start; }
.page { grid-template-columns: minmax(0, 1fr); }

/* Inline chips inside instructions never split across lines */
.howto .kbd, .howto .path { white-space: nowrap; }
.howto .path { white-space: normal; }
