/* HamProp — W1
   Paleta "night ionosphere": fondo azul-noche profundo, señal en azul #3B82F6,
   hot en ámbar. Display: Space Grotesk. Texto: IBM Plex Sans. Datos: Plex Mono. */

:root {
  --bg: #0B1220;
  --surface: #111A2C;
  --surface-2: #16213A;
  --line: #24304D;
  --text: #E7ECF6;
  --muted: #94A3BF;
  --accent: #3B82F6;
  --accent-soft: #1D3A6B;
  --hot: #F59E0B;
  --ok: #22C55E;
  --radius: 14px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
a { color: var(--accent); text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20;
  background: rgba(11,18,32,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text); }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* ---------- Botones ---------- */
.btn { display: inline-block; border-radius: 10px; font-weight: 600;
  padding: 12px 22px; font-size: 16px; transition: transform .12s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f6fe0; }
.btn-ghost { background: transparent; border: 1px solid var(--line);
  color: var(--text); cursor: pointer; font-family: inherit; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-big { padding: 15px 28px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h1 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 54ch; }
.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.micro { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- Firma: telnet -> Telegram ---------- */
.hero-demo { position: relative; min-height: 360px; }
.telnet { background: #0A0F1A; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; font-family: var(--font-mono); font-size: 12.5px;
  color: #5E7396; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.telnet-head { padding: 10px 14px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 8px; }
.telnet-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 8px var(--ok); }
.telnet-lines { padding: 14px; display: grid; gap: 9px; white-space: pre; overflow: hidden; }
.telnet-lines .hit { color: var(--text); background: var(--accent-soft);
  border-radius: 6px; padding: 3px 6px; margin: -3px -6px; }
.tg-card { position: absolute; right: -8px; bottom: -34px; width: min(320px, 92%);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55); animation: pop .7s ease .9s backwards; }
.tg-head { font-weight: 600; font-size: 14px; color: var(--accent);
  padding: 12px 16px 0; }
.tg-body { padding: 6px 16px 12px; font-size: 15px; display: grid; gap: 3px; }
.tg-title { font-size: 17px; }
.tg-hot { color: var(--hot); font-weight: 600; }
.tg-time { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
h2 { font-family: var(--font-display); font-weight: 700; font-size: 34px;
  letter-spacing: -0.01em; margin-bottom: 40px; }

/* Steps: la secuencia SÍ es una secuencia real, numeración justificada */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; }
.section .step { background: var(--surface); }
.step-n { width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font-weight: 500; font-size: 17px; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .mono { color: var(--text); background: #0A0F1A; padding: 1px 6px;
  border-radius: 5px; font-size: 13.5px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feat { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.feat-ico { font-size: 26px; line-height: 1.4; }
.feat h3 { font-family: var(--font-display); font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15.5px; grid-column: 2; }
.feat h3 { grid-column: 2; }
.feat-ico { grid-row: 1 / span 2; }

/* Support */
.support-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.goal { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: grid; gap: 16px;
  justify-items: start; }
.goalbar { width: 100%; height: 12px; border-radius: 999px; background: #0A0F1A;
  border: 1px solid var(--line); overflow: hidden; }
.goalbar-fill { height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #6EA8FE); min-width: 4px; }
.goal-label { color: var(--muted); font-size: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-in { display: flex; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 14.5px; flex-wrap: wrap; }

/* Paginas simples (donate) */
.page-simple { display: grid; min-height: 100vh; }
.simple-wrap { max-width: 640px; margin: auto; padding: 48px 24px; display: grid;
  gap: 18px; justify-items: start; }
.simple-wrap h1 { font-size: 40px; }
.back { color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .steps, .features { grid-template-columns: 1fr; }
  .support-in { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .tg-card { right: 0; }
}

/* ---------- Accesibilidad ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tg-card { animation: none; }
}

/* ---------- Activation watch (bloque home) ---------- */
.activation { text-align: center; max-width: 720px; }
.activation h2 { margin-bottom: 18px; }
.activation .lead { margin: 0 auto 30px; }
