:root {
  --slime: #bfff00;
  --slime-dim: #8fbf00;
  --bg: #000;
  --bg-2: #0b0b0b;
  --text: #fff;
  --muted: #b5b5b5;
  --line: #1f1f1f;
  --display: "Creepster", "Impact", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--slime); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--slime); outline-offset: 3px; }

/* Barra superior */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 16px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--slime);
}
.topbar nav { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.topbar nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.topbar nav a:hover { color: var(--slime); }
@media (max-width: 600px) {
  .brand { font-size: 1.3rem; }
  .topbar nav { gap: 0.4rem 0.8rem; }
  .topbar nav a { font-size: 0.72rem; letter-spacing: 0.04em; }
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 16px 9rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(191, 255, 0, 0.18), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4rem, 16vw, 10rem);
  line-height: 0.9;
  color: var(--slime);
  text-shadow: 0 0 24px rgba(191, 255, 0, 0.45);
}
/* Goteo del título: cada .d es una letra que gotea */
.hero h1 .d { position: relative; }
.d i {
  position: absolute;
  left: 50%;
  top: 86%;
  width: 0.07em;
  height: 0.04em;
  margin-left: -0.035em;
  background: var(--slime);
  border-radius: 0 0 0.05em 0.05em;
  box-shadow: 0 0 0.12em rgba(191, 255, 0, 0.5);
  --len: 0.3em;
  animation: ooze 5s ease-in infinite;
}
.d i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.05em;
  width: 0.09em;
  height: 0.11em;
  margin-left: -0.045em;
  background: var(--slime);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  animation: fall 5s ease-in infinite;
  animation-delay: inherit;
  animation-duration: inherit;
}
/* Largo y ritmo de cada gota */
.d1 i { --len: 0.16em; animation-delay: -0.5s; }
.d2 i { --len: 0.12em; animation-delay: -2.6s; animation-duration: 6s; left: 30%; }
.d3 i { --len: 0.34em; animation-delay: -1.2s; animation-duration: 6.5s; left: 22%; }
.d4 i { --len: 0.22em; animation-delay: -3.4s; left: 72%; }
.d5 i { --len: 0.4em;  animation-delay: -0.2s; animation-duration: 7s; left: 25%; }
.d6 i { --len: 0.2em;  animation-delay: -4.6s; animation-duration: 5.5s; left: 75%; }
.d7 i { --len: 0.3em;  animation-delay: -2s;   animation-duration: 6s; left: 22%; }

@keyframes ooze {
  0%   { height: 0.04em; }
  65%  { height: var(--len); }
  72%  { height: calc(var(--len) * 1.08); }
  80%  { height: calc(var(--len) * 0.45); }
  100% { height: 0.04em; }
}
@keyframes fall {
  0%, 70% { transform: translateY(0); opacity: 1; }
  72%     { transform: translateY(0.05em); opacity: 1; }
  95%     { transform: translateY(1.4em); opacity: 0; }
  100%    { transform: translateY(1.4em); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .d i { animation: none; height: var(--len); }
  .d i::after { animation: none; }
}

.lead {
  max-width: 38rem;
  margin: 1.75rem auto 2rem;
  font-size: 1.2rem;
}
.drip {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  fill: var(--slime);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background: var(--slime);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--slime);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: transparent; color: var(--slime); }
.btn-ghost { background: transparent; color: var(--slime); }
.btn-ghost:hover { background: var(--slime); color: #000; }

/* Secciones */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 16px;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
  color: var(--slime);
}
.intro { max-width: 40rem; color: var(--muted); }
.cols { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.cols p { margin: 0; }

/* Pasos */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  padding: 1.75rem;
  border: 2px solid var(--slime);
  background: var(--bg-2);
}
.num {
  display: block;
  color: var(--slime);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}
.steps h3 { margin: 0.5rem 0 0.25rem; font-size: 1.6rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1.15rem; }

/* Beneficios */
.perks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 760px) { .perks { grid-template-columns: repeat(2, 1fr); } }
.perks li {
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.perks li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.35rem;
  background: var(--slime);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 10px rgba(191, 255, 0, 0.6);
}

/* Próximo toque */
.callout {
  text-align: center;
}
.callout p { font-size: 1.2rem; max-width: 34rem; margin: 0 auto; }

.links { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.footer {
  padding: 2.5rem 16px 3rem;
  text-align: center;
  color: var(--muted);
}
.footer p { margin: 0.25rem 0; }
.small { font-size: 0.85rem; color: var(--slime-dim); }

/* 404 */
.notfound {
  min-height: 80vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem 16px;
}
.notfound h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(5rem, 25vw, 12rem);
  color: var(--slime);
  line-height: 1;
}
.notfound p { color: var(--muted); margin: 1rem 0 2rem; }
