/* Landing de Preztia — sin dependencias, sin build. Estética fintech oscura. */
:root {
  --bg: #0b0f1a;
  --bg-soft: #111726;
  --card: #141b2d;
  --line: #1e2740;
  --text: #e7ecf5;
  --muted: #93a0bd;
  --brand: #5b8cff;
  --brand-2: #33e6b3;
  --grad: linear-gradient(120deg, #5b8cff 0%, #33e6b3 100%);
  --radius: 16px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -10%, #17233f 0%, transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; }

/* Barra de estado */
.statusbar {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
  padding: 8px 16px; background: #080b13; border-bottom: 1px solid var(--line);
}
.statusbar .sep { opacity: .4; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2);
  box-shadow: 0 0 0 0 rgba(51, 230, 179, .7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(51,230,179,.6); }
  70% { box-shadow: 0 0 0 8px rgba(51,230,179,0); }
  100% { box-shadow: 0 0 0 0 rgba(51,230,179,0); }
}

/* Nav */
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .3px; font-size: 20px; }
.brand-mark { color: var(--brand-2); font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Botones */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .12s ease, opacity .12s ease; cursor: pointer; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #06110c; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }

/* Hero */
.hero { max-width: 900px; margin: 40px auto 20px; padding: 0 20px; text-align: center; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; color: var(--brand-2); background: rgba(51,230,179,.08); border: 1px solid rgba(51,230,179,.2);
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 820; letter-spacing: -1px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); margin: 22px auto 30px; max-width: 720px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust {
  list-style: none; display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center;
  padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px;
}

/* Secciones */
.section { max-width: var(--maxw); margin: 90px auto; padding: 0 20px; }
.section-title { font-size: clamp(26px, 4vw, 38px); text-align: center; letter-spacing: -.5px; }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 40px; max-width: 620px; }

/* Grid de tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #2b3a63; transform: translateY(-3px); }
.card-ico { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Pulso del sector */
.pulse { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.pulse-news, .pulse-changelog {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.pulse-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pulse-head h3 { font-size: 18px; }
.pill {
  font-size: 12px; color: var(--brand-2); background: rgba(51,230,179,.08);
  border: 1px solid rgba(51,230,179,.2); padding: 4px 10px; border-radius: 999px;
}
.pill-alt { color: var(--brand); background: rgba(91,140,255,.08); border-color: rgba(91,140,255,.25); }

.news-list { display: flex; flex-direction: column; gap: 4px; }
.news-item { display: block; padding: 14px 8px; border-bottom: 1px solid var(--line); transition: background .15s; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: rgba(255,255,255,.02); }
.news-item .n-title { font-weight: 600; font-size: 15px; }
.news-item .n-meta { color: var(--muted); font-size: 13px; margin-top: 4px; display: flex; gap: 8px; }
.news-item .n-source { color: var(--brand); }
.news-skeleton { height: 46px; border-radius: 10px; margin: 8px 0; background: linear-gradient(90deg, #131a2b, #1b2540, #131a2b); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.news-empty { color: var(--muted); font-size: 14px; padding: 14px 8px; }

/* Timeline changelog */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 22px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--grad);
}
.timeline .t-title { font-weight: 600; font-size: 15px; }
.timeline .t-date { color: var(--muted); font-size: 12px; }
.timeline .t-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--brand-2); }
.timeline .t-desc { color: var(--muted); font-size: 14px; margin-top: 3px; }

/* Pasos */
.steps { list-style: none; padding: 0; max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.steps li span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #06110c; font-weight: 800; display: grid; place-items: center; }
.steps li b { font-size: 16px; }
.steps li p { color: var(--muted); margin: 2px 0 0; font-size: 14px; }

/* CTA band */
.cta-band {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(91,140,255,.12), rgba(51,230,179,.10));
  border: 1px solid #2b3a63; border-radius: var(--radius); padding: 26px 28px;
}
.cta-band h3 { font-size: 20px; }
.cta-band p { color: var(--muted); margin: 6px 0 0; }

/* Footer */
.footer { max-width: var(--maxw); margin: 60px auto 40px; padding: 30px 20px 0; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.footer .brand { justify-content: center; margin-bottom: 10px; color: var(--text); }
.footer .muted { font-size: 13px; opacity: .8; }

@media (max-width: 820px) {
  .pulse { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
