:root {
  --bg: #000000;
  --fg: #e8f0ec;
  --muted: #9aaba2;
  --accent: #4fff3f;
  --accent-dim: rgba(79, 255, 63, 0.14);
  --accent-glow: rgba(79, 255, 63, 0.35);
  --panel: rgba(8, 14, 12, 0.72);
  --line: rgba(232, 240, 236, 0.1);
  --danger: #ff6b6b;
  --ok: #4fff3f;
  --font-brand: "Orbitron", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 4px;
  --max: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
}

#vanta-bg canvas {
  pointer-events: none !important;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b8ff7a;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, 560px);
}

.wrap.center {
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-link img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--fg);
}

/* Hero */
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 3.5rem 1.25rem 4rem;
}

.hero-inner {
  text-align: center;
  max-width: 42rem;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

.brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #f4fff2;
  text-shadow: 0 0 40px var(--accent-glow);
}

.tagline {
  margin: 1.15rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  font-weight: 500;
}

.tagline-byline {
  margin: 0.65rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.version-line {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.version-line span {
  color: var(--accent);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #041006;
  box-shadow: 0 0 0 1px rgba(79, 255, 63, 0.25), 0 10px 30px rgba(79, 255, 63, 0.18);
}

.btn-primary:hover {
  color: #041006;
  background: #b8ff7a;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: rgba(79, 255, 63, 0.45);
}

.btn-lg {
  padding: 1rem 1.8rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.section-alt {
  background: rgba(0, 0, 0, 0.55);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.lead strong {
  color: var(--fg);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-grid article {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.feature-grid h3,
.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
}

.feature-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 255, 63, 0.35);
  color: var(--accent);
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
}

.audience-list,
.req-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.audience-list li,
.req-list li {
  margin-bottom: 0.65rem;
}

.req-list strong {
  color: var(--fg);
}

.download-section {
  background: linear-gradient(180deg, rgba(79, 255, 63, 0.08), rgba(0, 0, 0, 0.65));
}

#comentarios {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

#comentarios .disqus-status {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

#comentarios .disqus-error {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

#comentarios #disqus_thread {
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
  min-height: 320px;
  color: var(--muted);
  pointer-events: auto;
}

#comentarios #disqus_thread iframe {
  min-height: 280px;
  width: 100% !important;
}

#comentarios a {
  color: var(--accent);
}

.fineprint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.mail-link {
  font-weight: 600;
}

/* Form */
.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.55);
  color: var(--fg);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(79, 255, 63, 0.45);
  outline-offset: 1px;
  border-color: rgba(79, 255, 63, 0.45);
}

.contact-form .btn {
  margin-top: 0.35rem;
  justify-self: start;
}

.form-status {
  min-height: 1.4em;
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.form-status.ok {
  color: var(--ok);
}

.form-status.err {
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.85);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner a {
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo {
    animation: float-logo 5.5s ease-in-out infinite;
  }

  .brand {
    animation: fade-up 0.7s ease both;
  }

  .tagline,
  .tagline-byline,
  .cta-row,
  .version-line {
    animation: fade-up 0.75s ease both;
  }

  .tagline { animation-delay: 0.08s; }
  .tagline-byline { animation-delay: 0.12s; }
  .cta-row { animation-delay: 0.16s; }
  .version-line { animation-delay: 0.24s; }
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
  }
}
