/* Página de producto de Pedalier. Mismo sistema de diseño que la web: fondo gris azulado, tarjetas blancas con
   borde fino y sin sombras, números y etiquetas en IBM Plex Mono, acento azul del logo. */
:root {
  --ink: #0b2238;
  --bg: #f6f7fa;
  --line: #e4e7ee;
  --border: #d6d9e4;
  --muted: #5c6075;
  --faint: #878ba0;
  --accent: #168af3;
  --accent-dark: #0b6fd6;
  --accent-tint: #e7f2fe;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Idioma: cada texto lleva .es y .en; solo se ve el del idioma activo */
body[data-lang='es'] .en,
body[data-lang='en'] .es { display: none; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.top, main, .foot {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; display: block; }

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

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 2px;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed='true'] { background: var(--ink); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #14395b; color: #fff; }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--ink); padding: 7px 14px; font-size: 14px; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.overline {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero { padding: 56px 0 48px; max-width: 760px; }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lead { margin: 0 0 28px; font-size: 18px; color: var(--muted); max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.note { font-size: 13px; color: var(--faint); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 14px;
  padding-bottom: 56px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.card .tag {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p:last-child { margin: 0; color: var(--muted); font-size: 15px; }

.closing {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  margin-bottom: 48px;
}
.closing h2 { margin: 0 0 10px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.closing p { margin: 0 auto 22px; max-width: 520px; color: var(--muted); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}

@media (max-width: 520px) {
  .top { padding-top: 14px; padding-bottom: 14px; }
  .hero { padding: 36px 0 32px; }
  .lead { font-size: 16px; }
  .btn-ghost { display: none; }
}
