@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&display=swap");

/* ============================================
   BlikeU — Mini-web del producto (v2, oct 2026)
   Misma identidad que la app: fondo claro, violeta #5B4FE0,
   coral #FF6B57, Plus Jakarta Sans y acentos arcoíris.
   ============================================ */

:root {
  --blu-bg: #f8f8fb;
  --blu-surface: #ffffff;
  --blu-surface-2: #f0f0f5;
  --blu-border: #e3e3ec;
  --blu-border-strong: #cbcbd9;
  --blu-fg: #14121f;
  --blu-muted: #54546a;
  --blu-muted-2: #6e6e86;
  --blu-primary: #5b4fe0;
  --blu-primary-hover: #4e44c1;
  --blu-primary-deep: #4239a1;
  --blu-accent: #ff6b57;
  --blu-ok: #1e9e5a;
  --blu-pink: #ff4d8d;
  --blu-radius: 16px;
  --blu-shadow: 0 1px 2px rgba(20, 18, 31, 0.06), 0 8px 24px rgba(91, 79, 224, 0.08);
  --pride: linear-gradient(90deg, #e40303 0%, #ff8c00 20%, #ffed00 40%, #008026 60%, #24408e 80%, #732982 100%);
  --brand-grad: linear-gradient(100deg, #5b4fe0 0%, #a259ff 45%, #ff6b57 100%);
  --max-w: 1040px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* compatibilidad con nombres antiguos */
  --blu-card: var(--blu-surface);
  --blu-success: var(--blu-ok);
  --blu-fg-soft: var(--blu-muted);
  --blu-fg-faint: var(--blu-muted-2);
  --blu-line: rgba(91, 79, 224, 0.35);
  --blu-line-soft: var(--blu-border);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--blu-bg);
  color: var(--blu-fg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Banda arcoíris en lo alto de cada página */
body::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--pride);
}

a { color: var(--blu-primary); text-decoration: none; }
::selection { background: var(--blu-primary); color: #fff; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */

.blu-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blu-border);
}

.blu-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.blu-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blu-fg);
  text-decoration: none;
  white-space: nowrap;
}

.blu-brand .u { color: var(--blu-primary); }

/* Logo oficial de la app (wordmark). El texto "BlikeU" se mantiene para lectores de pantalla */
.blu-brand { font-size: 0; }
.blu-brand::before {
  content: "";
  display: block;
  width: 130px;
  height: 37px;
  background: url("https://blikeu-app.netlify.app/icons/wordmark.png") left center / contain no-repeat;
}

.blu-byline {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blu-muted-2);
  display: block;
  margin-top: 2px;
}

.blu-byline a { color: var(--blu-muted-2); }
.blu-byline a:hover { color: var(--blu-primary); }

.blu-header-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.86rem;
  font-weight: 500;
}

.blu-header-links a { color: var(--blu-muted); }
.blu-header-links a:hover { color: var(--blu-primary); }
.blu-header-links .lang { color: var(--blu-muted-2); font-size: 0.8rem; }
.blu-header-links .lang a { color: var(--blu-muted-2); padding: 0 2px; }
.blu-header-links .lang a.active { color: var(--blu-fg); font-weight: 700; }

.blu-nav-cta {
  background: var(--blu-primary);
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(91, 79, 224, 0.3);
}
.blu-nav-cta:hover { background: var(--blu-primary-hover); }

.blu-nav-toggle {
  display: none;
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  color: var(--blu-fg);
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .blu-nav-toggle { display: block; }
  .blu-header-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--blu-surface);
    border-bottom: 1px solid var(--blu-border);
    padding: 8px 24px 16px;
  }
  .blu-header-links.open { display: flex; }
  .blu-header-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--blu-border); }
  .blu-nav-cta { width: auto !important; margin: 10px 0; }
}

/* ---------- Hero ---------- */

.blu-hero {
  position: relative;
  overflow: hidden;
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 64px;
  background:
    radial-gradient(520px 320px at 12% 18%, rgba(255, 107, 87, 0.22), transparent 70%),
    radial-gradient(520px 320px at 88% 14%, rgba(91, 79, 224, 0.22), transparent 70%),
    radial-gradient(460px 300px at 50% 100%, rgba(30, 158, 90, 0.14), transparent 70%),
    radial-gradient(400px 260px at 80% 90%, rgba(255, 237, 0, 0.18), transparent 70%),
    var(--blu-bg);
}

.blu-tag {
  display: inline-block;
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  color: var(--blu-primary);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: var(--blu-shadow);
}

.blu-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blu-hero h1 .u { color: transparent; }

.blu-hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--blu-muted);
  max-width: 640px;
  font-weight: 500;
}

.blu-hero .rule {
  width: 120px;
  height: 6px;
  border-radius: 6px;
  background: var(--pride);
  margin: 30px auto 0;
}

.blu-hero-ctas { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

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

.blu-section { padding: 80px 0; border-top: 1px solid var(--blu-border); }
.blu-section:nth-of-type(even) { background: var(--blu-surface); }

.blu-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blu-primary);
  margin-bottom: 14px;
  padding-left: 14px;
  position: relative;
}

.blu-label::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
}

.blu-section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--blu-fg);
}

.blu-section p { color: var(--blu-muted); max-width: 700px; margin-bottom: 16px; }
.blu-section p strong { color: var(--blu-fg); font-weight: 700; }

/* Tarjetas: cada una con un color del arcoíris */
.blu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.blu-card {
  position: relative;
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  border-radius: var(--blu-radius);
  padding: 28px 24px 26px;
  box-shadow: var(--blu-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.blu-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 6px;
  background: var(--card-color, var(--blu-primary));
}

.blu-grid .blu-card:nth-child(7n+1) { --card-color: #e40303; }
.blu-grid .blu-card:nth-child(7n+2) { --card-color: #ff8c00; }
.blu-grid .blu-card:nth-child(7n+3) { --card-color: #f2c300; }
.blu-grid .blu-card:nth-child(7n+4) { --card-color: #008026; }
.blu-grid .blu-card:nth-child(7n+5) { --card-color: #24408e; }
.blu-grid .blu-card:nth-child(7n+6) { --card-color: #732982; }
.blu-grid .blu-card:nth-child(7n+7) { --card-color: var(--brand-grad); }

.blu-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(91, 79, 224, 0.16); }

.blu-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--blu-fg);
}

.blu-card h3 .dot { color: var(--card-color, var(--blu-primary)); margin-right: 4px; }
/* Iconos de servicio de la app (Lucide, licencia ISC) */
.blu-card h3 .ico { width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; color: var(--card-color, var(--blu-primary)); flex: none; }
.blu-card p { font-size: 0.93rem; color: var(--blu-muted); margin: 0; }

/* Pasos */
.blu-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 32px;
  counter-reset: step;
}

.blu-step {
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  border-radius: var(--blu-radius);
  padding: 24px 20px;
  font-size: 0.92rem;
  color: var(--blu-muted);
  box-shadow: var(--blu-shadow);
}

.blu-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.blu-step a { font-weight: 600; }

/* Mock del teléfono, con el aspecto de la app */
.blu-mock-wrap { display: flex; justify-content: center; margin-top: 44px; }

.blu-mock {
  width: min(340px, 100%);
  background: var(--blu-bg);
  border: 10px solid #14121f;
  border-radius: 38px;
  padding: 28px 18px 24px;
  box-shadow: 0 30px 70px rgba(20, 18, 31, 0.22), 0 0 0 1px rgba(20, 18, 31, 0.3);
  position: relative;
}

.blu-mock::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 8px;
  border-radius: 8px;
  background: #14121f;
}

.blu-mock .greet {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  color: var(--blu-fg);
}

.blu-mock .greet::before {
  content: "";
  display: inline-block;
  width: 24px; height: 30px;
  margin-right: 8px;
  vertical-align: -8px;
  background: url("https://blikeu-app.netlify.app/icons/mark.png") center / contain no-repeat;
}

.blu-mock .mini-card {
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--blu-shadow);
}

.blu-mock .mini-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blu-muted-2);
  margin-bottom: 6px;
}

.blu-mock .mini-title { font-size: 0.95rem; font-weight: 700; color: var(--blu-fg); }
.blu-mock .mini-sub { font-size: 0.8rem; color: var(--blu-muted); }

.blu-mock .mini-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  background: var(--blu-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 16px;
}

.blu-mock .mini-btn.green { background: var(--blu-surface); color: var(--blu-primary); border: 1px solid var(--blu-border-strong); }

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

.blu-btn {
  display: inline-block;
  background: var(--blu-primary);
  color: #fff;
  border: 1px solid var(--blu-primary);
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(91, 79, 224, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.blu-btn:hover { background: var(--blu-primary-hover); transform: translateY(-1px); }

.blu-btn-ghost {
  background: var(--blu-surface);
  color: var(--blu-fg);
  border-color: var(--blu-border-strong);
  box-shadow: var(--blu-shadow);
}

.blu-btn-ghost:hover { background: var(--blu-surface-2); color: var(--blu-primary); }

/* ---------- Página de aportación ---------- */

.blu-pay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.blu-pay a {
  display: block;
  text-align: center;
  background: var(--blu-surface);
  border: 2px solid var(--blu-border);
  border-radius: var(--blu-radius);
  padding: 24px 16px;
  font-weight: 800;
  color: var(--blu-fg);
  box-shadow: var(--blu-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blu-pay a small { display: block; color: var(--blu-muted-2); font-weight: 500; font-size: 0.8rem; margin-top: 6px; }
.blu-pay a:hover { border-color: var(--blu-primary); transform: translateY(-2px); }
.blu-pay a:nth-child(1) { border-top: 6px solid var(--blu-primary); }
.blu-pay a:nth-child(2) { border-top: 6px solid var(--blu-accent); }
.blu-pay a:nth-child(3) { border-top: 6px solid var(--blu-ok); }

.blu-faq details {
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--blu-shadow);
}

.blu-faq summary { cursor: pointer; font-weight: 700; color: var(--blu-fg); }
.blu-faq details p { margin: 10px 0 0; font-size: 0.93rem; }

.blu-legal { font-size: 0.82rem; color: var(--blu-muted-2); }
.blu-legal p { max-width: none; color: var(--blu-muted-2); }

.blu-note {
  background: var(--blu-surface);
  border: 1px solid var(--blu-border);
  border-radius: 12px;
  padding: 14px 18px 14px 22px;
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--blu-muted);
}

.blu-note::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
}

/* ---------- Footer ---------- */

.blu-footer {
  border-top: 1px solid var(--blu-border);
  padding: 44px 24px 36px;
  text-align: center;
  background: var(--blu-surface);
}

.blu-footer::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  border-radius: 5px;
  background: var(--pride);
  margin: 22px auto 0;
}

.blu-footer p { font-size: 0.84rem; color: var(--blu-muted-2); margin-bottom: 8px; }
.blu-footer a { color: var(--blu-muted); font-weight: 500; }
.blu-footer a:hover { color: var(--blu-primary); }
.blu-footer .brand-line { font-weight: 700; color: var(--blu-fg); font-size: 0.9rem; }
