/* ---------------------------------------------------------------------
   Nodyra — landing page
   Paleta/tipografia/componentes calcados de static/style.css de la app
   (desktop_app), para que la web y la app se sientan la misma marca.
   ------------------------------------------------------------------- */
:root {
  --bg: #0a0e14;
  --bg-inset: #060810;
  --surface: rgba(22, 28, 38, .78);
  --surface-soft: rgba(30, 38, 50, .82);
  --rule: rgba(45, 212, 191, .32);
  --ink: #e9eef2;
  --ink-soft: #9fb0b5;
  --ink-faint: #6c7f82;
  --accent: #22d3ee;
  --accent-hover: #38e0f5;
  --accent-soft: rgba(34, 211, 238, .16);
  --accent-ink: #eafdff;
  --ok: #35a06b;
  --warn: #e8b84b;
  --neon-turquoise: #2dd4bf;
  --neon-blue: #38bdf8;
  --neon-green: #4ade80;
  --neon-pink: #d946ef;
  --neon-violet: #8b5cf6;
  --shadow-1: 0 1px 2px rgba(0,0,0,.35), 0 6px 18px rgba(0,0,0,.28);
  --shadow-2: 0 2px 4px rgba(0,0,0,.4), 0 14px 32px rgba(0,0,0,.32);
  --radius: 10px;
  --radius-sm: 7px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Noto Serif", serif;
  --font-body: -apple-system, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 760px at 12% -8%, rgba(56, 189, 248, .20), transparent 60%),
    radial-gradient(1000px 720px at 88% -4%, rgba(45, 212, 191, .18), transparent 58%),
    radial-gradient(900px 800px at 50% 105%, rgba(74, 222, 128, .12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------------
   Cabecera (calcada de header/.brand de la app)
   ------------------------------------------------------------------- */
header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; position: relative; }
.brand::before {
  content: "";
  position: absolute;
  left: -18px; top: 50%;
  transform: translateY(-50%);
  width: 160px; height: 90px;
  background: radial-gradient(ellipse at center, rgba(217,70,239,.55) 0%, rgba(139,92,246,.35) 45%, transparent 75%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}
.brand-logo { position: relative; z-index: 1; height: 40px; width: auto; flex-shrink: 0; }

nav.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  letter-spacing: .01em;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--ink); }

/* ---------------------------------------------------------------------
   Botones (idénticos a los de la app: píldora, relieve, glow al pulsar)
   ------------------------------------------------------------------- */
.btn {
  background: var(--accent);
  color: var(--accent-ink);
  text-shadow: 0 1px 1px rgba(0,0,0,.55), 0 0 6px rgba(0,0,0,.25);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 1px 2px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.25);
  transition: background .15s ease, box-shadow .12s ease, transform .08s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.45); }
.btn-ghost {
  background: var(--surface-soft); color: var(--ink); border: 1px solid var(--rule);
  text-shadow: none; box-shadow: none;
}
.btn-ghost:hover { background: var(--rule); }
.btn-lg { padding: 13px 26px; font-size: 15px; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 4px 14px -2px rgba(139,124,246,.45); }

/* ---------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */
.hero { padding: 88px 0 64px; text-align: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 999px;
  padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px 1px rgba(60,179,113,.7); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero h1 .accent-text {
  background: linear-gradient(90deg, var(--accent), var(--neon-violet), var(--neon-pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  max-width: 620px; margin: 0 auto 34px;
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 12.5px; color: var(--ink-faint); }

/* Mockup de la app dentro del hero: mismo panel con borde/rule que usa la
   app de verdad, no una captura de pantalla — evita mantener una imagen
   desactualizada cada vez que cambie la UI real. */
.hero-mockup {
  margin: 56px auto 0; max-width: 880px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  text-align: left;
}
.hero-mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.hero-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-mockup-dot:nth-child(1) { background: #e2685f; }
.hero-mockup-dot:nth-child(2) { background: #e8b84b; }
.hero-mockup-dot:nth-child(3) { background: #3cb371; }
.hero-mockup-title { margin-left: 8px; font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.hero-mockup-body { display: flex; gap: 0; min-height: 300px; }
.hero-mockup-sidebar {
  width: 60px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 0; border-right: 1px solid var(--rule);
}
.hero-mockup-cat {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-soft); color: var(--ink-soft);
}
.hero-mockup-cat svg { width: 20px; height: 20px; }
.hero-mockup-cat.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.hero-mockup-panel { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.hero-mockup-panel .fake-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); font-weight: 700; }
.hero-mockup-panel .fake-input {
  background: var(--bg-inset); border: 1px solid var(--rule); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 13px; color: var(--ink-soft); font-style: italic;
}
.hero-mockup-panel .fake-progress { height: 8px; background: var(--bg-inset); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; margin-top: 4px; }
.hero-mockup-panel .fake-progress span { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--accent), #b3a3ff); }
.hero-mockup-result {
  flex: 1; margin-top: 6px; border-radius: var(--radius-sm); border: 1px solid var(--rule);
  background: var(--bg-inset);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint); font-family: var(--font-display); font-style: italic; font-size: 14px;
  min-height: 120px;
}

/* ---------------------------------------------------------------------
   Secciones genéricas
   ------------------------------------------------------------------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* Tarjetas de "por qué Nodyra" */
.pitch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pitch-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-1);
}
.pitch-card .pitch-icon {
  width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.pitch-icon svg { width: 20px; height: 20px; }
.pitch-card h3 { font-size: 15.5px; margin: 0 0 8px; }
.pitch-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* Herramientas, por categoria (mismos iconos SVG que la barra lateral real) */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.tool-cat-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-1);
}
.tool-cat-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tool-cat-card-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.tool-cat-card-icon svg { width: 18px; height: 18px; }
.tool-cat-card-head h3 { font-size: 14.5px; margin: 0; }
.tool-cat-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.tool-cat-card li {
  font-size: 12.8px; color: var(--ink-soft); line-height: 1.4;
  padding-left: 14px; position: relative;
}
.tool-cat-card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--neon-turquoise);
}
.tool-cat-card li.experimental { color: var(--ink-faint); }
.tool-cat-card li.experimental::before { background: var(--warn); }
.tag-experimental {
  display: inline-block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: #fff3d6; background: linear-gradient(135deg, #7a4a12, #9c5f0f); border: 1px solid #d98c2b;
  border-radius: 5px; padding: 1px 5px; margin-left: 6px; vertical-align: middle;
}

/* Franja "todo local" */
.local-strip {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 30px 32px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.local-strip .status-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px 1px rgba(60,179,113,.7); flex-shrink: 0; }
.local-strip-copy h3 { margin: 0 0 6px; font-size: 16px; }
.local-strip-copy p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; max-width: 520px; }
.local-strip-metrics { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.local-metric { text-align: center; }
.local-metric strong { display: block; font-size: 22px; font-family: var(--font-display); color: var(--accent-ink); }
.local-metric span { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .03em; }

/* Precio */
.pricing-card {
  max-width: 460px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 34px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(420px 220px at 50% -10%, rgba(139,92,246,.22), transparent 70%);
  pointer-events: none;
}
.pricing-card > * { position: relative; z-index: 1; }
.price-tag { font-family: var(--font-display); font-size: 46px; font-weight: 700; margin: 6px 0 2px; }
.price-tag sup { font-size: 18px; top: -1.4em; }
.price-sub { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 22px; }
.price-features { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: 13.5px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.price-features li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--ok); }
.price-status { margin-top: 16px; font-size: 12px; color: var(--ink-faint); }

/* Footer */
footer { border-top: 1px solid var(--rule); padding: 32px 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-faint); }
.footer-logo { height: 22px; width: auto; opacity: .85; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 12.5px; color: var(--ink-faint); text-decoration: none; }
.footer-links a:hover { color: var(--ink-soft); }

/* Marca de "solo estetica / local preview" — quitar al desplegar de verdad */
.dev-ribbon {
  position: fixed; top: 10px; right: -46px; z-index: 999;
  background: var(--warn); color: #241a00; font-weight: 700; font-size: 11px;
  padding: 5px 52px; transform: rotate(35deg);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  letter-spacing: .03em;
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero-mockup-body { flex-direction: column; }
  .hero-mockup-sidebar { flex-direction: row; width: 100%; border-right: none; border-bottom: 1px solid var(--rule); }
  .local-strip-metrics { margin-left: 0; }
}
