/* Findest — hoja de estilo de la web pública.
   Sitio estático: sin build, sin dependencias. */

:root {
  --ink:        #060912;
  --ink-2:      #0B1120;
  --ink-3:      #111A2E;
  --line:       rgba(148, 168, 214, 0.14);
  --line-soft:  rgba(148, 168, 214, 0.08);
  --text:       #EAEFFA;
  --muted:      #93A1C0;
  --muted-2:    #6B7A9B;
  --accent:     #6E8BFF;
  --accent-hi:  #9DB0FF;
  --mint:       #2ED3A7;
  --warm:       #FFC46B;
  --danger:     #FF7B72;

  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1140px;

  --shadow-lg:  0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Resplandor ambiental de fondo. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 12% -8%,  rgba(110, 139, 255, 0.20), transparent 65%),
    radial-gradient(620px 400px at 92% 4%,   rgba(46, 211, 167, 0.11),  transparent 62%),
    radial-gradient(900px 600px at 50% 108%, rgba(110, 139, 255, 0.09), transparent 70%);
}

.shell { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 640; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 560;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-hi);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(110, 139, 255, 0.07);
}

.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(46, 211, 167, 0.16);
}

.lead { color: var(--muted); font-size: 18.5px; line-height: 1.62; }

/* --------------------------------------------------------------- Navegación */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(6, 9, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(6, 9, 18, 0.9); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 640; letter-spacing: -0.02em; font-size: 17px; }
.brand-mark { width: 28px; height: 28px; flex: none; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 860px) { .nav-links { display: none; } }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ------------------------------------------------------------------ Botones */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 11px;
  font-size: 14.5px; font-weight: 560;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #08101F;
  font-weight: 620;
  box-shadow: 0 10px 30px -10px rgba(110, 139, 255, 0.7);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(110, 139, 255, 0.85); transform: translateY(-1px); }

.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(148, 168, 214, 0.28); }

.btn-lg { padding: 15px 30px; font-size: 15.5px; border-radius: 13px; }

/* -------------------------------------------------------------------- Héroe */

.hero { padding: 84px 0 60px; }
@media (max-width: 900px) { .hero { padding: 56px 0 40px; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.85rem);
  margin: 22px 0 20px;
}
.hero h1 .accent {
  background: linear-gradient(105deg, var(--accent-hi) 10%, var(--mint) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

.hero-note {
  margin-top: 20px; font-size: 13.5px; color: var(--muted-2);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hero-note svg { flex: none; }

/* --------------------------------------------------- Diagrama del pipeline */

.pipeline {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(17, 26, 46, 0.9), rgba(11, 17, 32, 0.75));
  box-shadow: var(--shadow-lg);
  padding: 26px;
  overflow: hidden;
}
.pipeline::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 200px at 70% 0%, rgba(110, 139, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.pipeline-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.pipeline-head .pill { width: 10px; height: 10px; border-radius: 50%; background: rgba(148,168,214,.24); }
.pipeline-head .label { margin-left: 8px; font-size: 12.5px; color: var(--muted-2); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }

.stage { display: grid; grid-template-columns: 40px 1fr; gap: 15px; position: relative; }
.stage + .stage { margin-top: 6px; }

.stage-rail { position: relative; display: flex; flex-direction: column; align-items: center; }

.stage-icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--accent-hi);
  position: relative; z-index: 2;
  transition: border-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.stage.is-active .stage-icon {
  border-color: rgba(110, 139, 255, 0.6);
  box-shadow: 0 0 0 5px rgba(110, 139, 255, 0.11);
}
.stage:last-child.is-active .stage-icon {
  border-color: rgba(46, 211, 167, 0.6);
  box-shadow: 0 0 0 5px rgba(46, 211, 167, 0.13);
  color: var(--mint);
}

.stage-line { flex: 1; width: 2px; background: var(--line); margin: 6px 0; position: relative; overflow: hidden; border-radius: 2px; }
.stage-line::after {
  content: ""; position: absolute; inset-inline: 0; height: 40%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  transform: translateY(-120%);
}
.stage.is-active .stage-line::after { animation: flow 1.15s var(--ease) forwards; }
@keyframes flow { to { transform: translateY(260%); } }

.stage-body { padding-bottom: 22px; min-width: 0; }
.stage:last-child .stage-body { padding-bottom: 0; }

.stage-title { font-size: 14.5px; font-weight: 560; margin-bottom: 4px; }
.stage-desc { font-size: 13.5px; color: var(--muted); }

.stage-chip {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 10px; padding: 6px 11px;
  border-radius: 8px; font-size: 12.5px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.stage.is-active .stage-chip { opacity: 1; transform: none; }
.stage-chip .ok { color: var(--mint); }
.stage-chip strong { color: var(--text); font-weight: 560; }

/* ---------------------------------------------------------------- Secciones */

section { padding: 86px 0; position: relative; }
@media (max-width: 760px) { section { padding: 62px 0; } }

.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.5rem); margin: 18px 0 16px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* Tarjetas */

.cards { display: grid; gap: 18px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards.c3, .cards.c2 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.6), rgba(11, 17, 32, 0.4));
  padding: 26px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.card:hover { border-color: rgba(148, 168, 214, 0.26); transform: translateY(-3px); }

.card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
  border: 1px solid var(--line);
  background: rgba(110, 139, 255, 0.09);
  color: var(--accent-hi);
}
.card h3 { font-size: 16.5px; margin-bottom: 9px; font-weight: 580; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Pasos numerados */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 17px; margin: 12px 0 9px; font-weight: 580; }
.step p { color: var(--muted); font-size: 14.5px; }
.step .bar { position: absolute; top: 0; left: 0; width: 34px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }

/* Constructor de reglas (maqueta) */

.rule-demo {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.82), rgba(11, 17, 32, 0.6));
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.rule-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.rule-row + .rule-row { margin-top: 16px; }

.rule-word { color: var(--muted-2); font-size: 14px; }

.token {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px; font-weight: 520;
}
.token.type   { border-color: rgba(255, 196, 107, 0.4); color: var(--warm);  background: rgba(255, 196, 107, 0.09); }
.token.folder { border-color: rgba(46, 211, 167, 0.4);  color: var(--mint);  background: rgba(46, 211, 167, 0.09); }
.token.drive  { border-color: rgba(110, 139, 255, 0.4); color: var(--accent-hi); background: rgba(110, 139, 255, 0.09); }

.rule-out {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.rule-out code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px; color: var(--text);
  padding: 8px 13px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.34); border: 1px solid var(--line-soft);
}

/* Seguridad */

.trust-list { display: grid; gap: 18px; }
.trust-item { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.trust-item svg { color: var(--mint); margin-top: 3px; }
.trust-item h4 { margin: 0 0 5px; font-size: 15px; font-weight: 570; }
.trust-item p { color: var(--muted); font-size: 14.5px; }

/* Precios */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; } }

.plan {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.6), rgba(11, 17, 32, 0.4));
  padding: 30px 26px; display: flex; flex-direction: column;
}
.plan.featured {
  border-color: rgba(110, 139, 255, 0.45);
  background: linear-gradient(180deg, rgba(26, 38, 70, 0.85), rgba(13, 20, 38, 0.6));
  box-shadow: 0 24px 60px -24px rgba(110, 139, 255, 0.5);
  position: relative;
}
.plan-tag {
  position: absolute; top: -11px; left: 26px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #08101F;
}
.plan h3 { font-size: 15px; font-weight: 560; color: var(--muted); margin-bottom: 14px; }
.price { font-size: 2.5rem; font-weight: 640; letter-spacing: -0.03em; }
.price span { font-size: 15px; font-weight: 420; color: var(--muted-2); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: start; }
.plan li svg { color: var(--mint); margin-top: 4px; }
.plan .btn { margin-top: auto; width: 100%; }

/* FAQ */

.faq { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 21px 0;
  font-size: 16px; font-weight: 530;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-hi); }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { color: var(--muted); font-size: 15px; padding: 0 0 22px; max-width: 780px; }

/* Captura de correo */

.cta-final {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(110, 139, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(17, 26, 46, 0.85), rgba(11, 17, 32, 0.6));
  padding: 54px 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-final h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 14px; }

.signup { display: flex; gap: 10px; max-width: 440px; margin: 28px auto 0; flex-wrap: wrap; }
.signup input {
  flex: 1 1 220px; min-width: 0;
  padding: 14px 17px; border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup input::placeholder { color: var(--muted-2); }
.signup input:focus {
  outline: none;
  border-color: rgba(110, 139, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(110, 139, 255, 0.13);
}
.form-msg { margin-top: 14px; font-size: 14px; min-height: 21px; }
.form-msg.ok { color: var(--mint); }
.form-msg.err { color: var(--danger); }

/* Pie */

footer { padding: 52px 0 44px; border-top: 1px solid var(--line-soft); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a, .foot p { color: var(--muted-2); font-size: 13.5px; }
.foot a:hover { color: var(--text); }

/* Revelado al hacer scroll */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stage-line::after, .stage-chip { animation: none !important; transition: none !important; opacity: 1; }
}
