/* ============================================================
   BINNO — Design System v3 ("crypto-noir premium")
   Dark #060606 · Lime #C1FF33 · Clash Display + Poppins + JetBrains Mono
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #060606;
  --bg-soft: #0a0c09;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-lime: rgba(193, 255, 51, 0.28);
  --ink: #f5f7f0;
  --muted: #a3aba0;
  --muted-2: #8a9287;
  --lime: #c1ff33;
  --lime-soft: rgba(193, 255, 51, 0.12);
  --lime-glow: rgba(193, 255, 51, 0.35);
  --on-lime: #0b0d06;

  --font-display: 'Clash Display', 'Poppins', system-ui, sans-serif;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* spotlight cursor position (set by JS per-card) */
  --mx: 50%;
  --my: 50%;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
section { position: relative; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

::selection { background: var(--lime); color: var(--on-lime); }

/* slim custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222722; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a423a; }

/* film grain over everything (very subtle) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 3000;
  background: var(--lime);
  color: var(--on-lime);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 14px; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Typography helpers ---------- */
.t-lime { color: var(--lime); }
.t-white { color: var(--ink); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.kicker::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime));
}

.section-title {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 14px 0 0;
}

.section-sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 640px;
  margin-top: 18px;
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }

/* lime highlight box (brand element) */
.hl-box {
  display: inline-block;
  background: var(--lime);
  color: var(--on-lime);
  padding: 0 0.22em;
  border-radius: 0.14em;
  transform: rotate(-1.2deg);
  box-shadow: 0 0 60px var(--lime-glow);
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime);
  color: var(--on-lime);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(193, 255, 51, 0);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, background 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--lime-glow);
}
.btn:active { transform: translateY(0) scale(0.98); }
/* shine sweep */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(0) skewX(-20deg);
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before { transform: translateX(420%) skewX(-20deg); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--line-lime);
  color: var(--lime);
  box-shadow: 0 8px 32px rgba(193, 255, 51, 0.12);
}
.btn-ghost::before { display: none; }

.btn-lg { padding: 19px 38px; font-size: 16px; }

.btn-dark {
  background: var(--on-lime);
  color: var(--lime);
}
.btn-dark:hover { box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45); }

/* arrow link */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--lime);
  position: relative;
}
.link-more::after {
  content: '→';
  transition: transform 0.3s var(--ease-spring);
}
.link-more:hover::after { transform: translateX(6px); }
.link-more::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.35s var(--ease-out);
}
.link-more:hover::before { width: calc(100% - 22px); }

.link-more.on-lime { color: var(--on-lime); }
.link-more.on-lime::before { background: var(--on-lime); }

/* live status dot */
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  flex: 0 0 auto;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: pulse-ring 2s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 5. Scroll progress + header ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 1200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), #e3ff8f);
  box-shadow: 0 0 12px var(--lime-glow);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  transition: border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
/* fondo glass en un pseudo-elemento: backdrop-filter directo en el header
   lo convertiría en containing block y rompería el .nav-menu fixed en móvil */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 6, 6, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled { border-bottom-color: var(--line-soft); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; transition: filter 0.3s ease; }
.brand:hover img { filter: drop-shadow(0 0 14px var(--lime-glow)); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu > a,
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-menu > a:hover,
.nav-menu > a.active,
.nav-drop > button:hover,
.nav-drop.open > button {
  color: var(--ink);
  background: var(--surface-2);
}
.nav-menu > a.active { color: var(--lime); }

.nav-menu > a.nav-cta {
  margin-left: 10px;
  padding: 11px 20px;
  font-size: 14px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 600;
}
.nav-menu > a.nav-cta:hover {
  background: #d2ff66;
  color: var(--on-lime);
}
.nav-menu > a.nav-cta .live-dot { background: var(--on-lime); }
.nav-menu > a.nav-cta .live-dot::after { border-color: var(--on-lime); }

.chev { transition: transform 0.3s var(--ease-out); opacity: 0.7; }
.nav-drop.open .chev { transform: rotate(180deg); }

.nav-drop { position: relative; }
.drop-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  min-width: 218px;
  padding: 8px;
  background: rgba(12, 13, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 50;
}
.nav-drop.open .drop-panel,
.nav-drop:hover .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.drop-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.drop-panel a:hover {
  background: var(--lime-soft);
  color: var(--ink);
  transform: translateX(4px);
}
.drop-panel .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 auto;
}
.flag { width: 21px; height: 14px; border-radius: 2.5px; flex: 0 0 auto; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  z-index: 1060;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring), opacity 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.9;
}

/* aurora glows */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 420px at 78% 8%, rgba(193, 255, 51, 0.1), transparent 62%),
    radial-gradient(640px 460px at 12% 88%, rgba(193, 255, 51, 0.07), transparent 60%),
    radial-gradient(1200px 700px at 50% 118%, rgba(6, 6, 6, 0.95), transparent),
    linear-gradient(180deg, rgba(6, 6, 6, 0.45), rgba(6, 6, 6, 0) 32%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  padding: 9px 18px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 98px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.99;
  margin: 28px 0 0;
}
.hero-title .ht-line {
  display: block;
  overflow: hidden;
  padding-block: 0.06em;
}
.hero-title .ht-line > span {
  display: inline-block;
  animation: rise-in 0.9s var(--ease-out) both;
}
.hero-title .ht-line:nth-child(1) > span { animation-delay: 0.18s; }
.hero-title .ht-line:nth-child(2) > span { animation-delay: 0.3s; }
.hero-title .ht-line:nth-child(3) > span { animation-delay: 0.42s; }

@keyframes rise-in {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 640px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18.5px);
  animation: fade-up 0.8s var(--ease-out) 0.55s both;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
  animation: fade-up 0.8s var(--ease-out) 0.68s both;
}

.hero-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  animation: fade-up 0.8s var(--ease-out) 0.78s both;
}

/* hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(48px, 7vh, 84px);
  width: min(880px, 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fade-up 0.9s var(--ease-out) 0.9s both;
}
.hstat {
  background: rgba(8, 9, 7, 0.55);
  padding: 22px 16px 20px;
  text-align: center;
  transition: background 0.3s ease;
}
.hstat:hover { background: rgba(193, 255, 51, 0.05); }
.hstat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hstat-label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-up 1s var(--ease-out) 1.3s both;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--lime), transparent);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- 7. Transaction ticker ---------- */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 15px 0;
  position: relative;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker-scroll 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tx {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.tx .u { color: var(--ink); }
.tx .arr { color: var(--lime); }
.tx .amt { color: var(--lime); font-weight: 500; }
.tx .net { color: var(--muted-2); }
.tx::after {
  content: '◆';
  color: var(--lime);
  font-size: 8px;
  margin-left: 38px;
  opacity: 0.5;
}

/* ---------- 8. Trust strip ---------- */
.trust-strip {
  padding: clamp(48px, 7vw, 72px) 0;
  text-align: center;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  margin-top: 26px;
}
.trust-logos span {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}
.trust-logos span:hover {
  color: var(--ink);
  text-shadow: 0 0 24px var(--lime-glow);
}

/* ---------- 9. Sections (generic) ---------- */
.section {
  padding: clamp(72px, 11vw, 130px) 0;
}

/* faint dotted grid backdrop for technical sections */
.dots-bg {
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
}
.dots-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, var(--bg) 100%);
  pointer-events: none;
}
.dots-bg > .container { position: relative; }

/* floating decorative orb (JS parallax via data-speed) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  background: var(--lime);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 10. How it works + demo ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: step;
}
.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.step-item:hover {
  background: var(--surface);
  border-color: var(--line-soft);
  transform: translateX(6px);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  box-shadow: inset 0 0 24px rgba(193, 255, 51, 0.08);
}
.step-item h3 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.step-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.steps-cta { margin: 18px 0 0 20px; }

/* connector line between steps */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 47px;
  top: 86px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(180deg, var(--line-lime), transparent);
}

/* demo widget */
.demo-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.demo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 320px at var(--mx) var(--my), rgba(193, 255, 51, 0.07), transparent 60%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.demo-head-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.demo-dots i:first-child { background: rgba(193, 255, 51, 0.5); }

.demo-field { margin-top: 16px; }
.demo-field > .demo-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.demo-input {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
  min-height: 52px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.demo-input.typing {
  border-color: var(--line-lime);
  box-shadow: 0 0 0 3px rgba(193, 255, 51, 0.08);
}
.demo-input .caret {
  width: 2px;
  height: 1.2em;
  background: var(--lime);
  margin-left: 2px;
  animation: caret-blink 0.9s step-end infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}
.demo-chip.sel {
  border-color: var(--lime);
  color: var(--on-lime);
  background: var(--lime);
  box-shadow: 0 0 22px rgba(193, 255, 51, 0.3);
}

.demo-send {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  font-size: 15.5px;
}
.demo-send:disabled { cursor: default; opacity: 0.92; }

.demo-progress {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: var(--line-soft);
  margin-top: 18px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.demo-progress.on { opacity: 1; }
.demo-progress span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--lime), #e7ffa3);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.demo-progress.on span { transform: scaleX(1); }

.demo-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.demo-result.on { opacity: 1; transform: translateY(0); }
.demo-result .ok {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--lime);
  font-size: 15px;
}
.demo-result .ok svg { flex: 0 0 auto; }
.demo-result .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.demo-result .meta b { color: var(--lime); font-weight: 500; }

.demo-replay {
  margin-top: 14px;
  width: 100%;
  background: none;
  border: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px;
  opacity: 0;
  transition: color 0.25s ease, opacity 0.3s ease;
}
.demo-replay.on { opacity: 1; }
.demo-replay:hover { color: var(--lime); }

/* ---------- 11. Bento products ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.bento-card {
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 34px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}
.bento-card:nth-child(2),
.bento-card:nth-child(3) { grid-column: span 2; }
.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-lime);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(193, 255, 51, 0.06);
}
/* cursor spotlight */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 360px at var(--mx) var(--my), rgba(193, 255, 51, 0.08), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }

.bento-chip {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  padding: 6px 13px;
  border-radius: 999px;
}
.bento-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.015em;
  margin-top: 18px;
}
.bento-copy {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
  max-width: 46ch;
}
.bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
}
.bento-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bento-stat .lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.bento-stat .val {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--lime);
}
.bento-art {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 62%;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 72% 72%, #000 22%, transparent 66%);
  mask-image: radial-gradient(ellipse 75% 75% at 72% 72%, #000 22%, transparent 66%);
  transition: opacity 0.5s ease, transform 0.7s var(--ease-out);
  pointer-events: none;
  z-index: 0 !important;
}
.bento-card:hover .bento-art {
  opacity: 0.68;
  transform: scale(1.04) rotate(-1deg);
}

/* ---------- 12. Lime full-bleed section ---------- */
.lime-section {
  position: relative;
  margin: clamp(20px, 4vw, 48px) 12px;
  border-radius: clamp(26px, 4vw, 44px);
  background: var(--lime);
  color: var(--on-lime);
  overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0;
}
.lime-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 120% 110% at 75% 0%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 120% 110% at 75% 0%, #000, transparent 78%);
  pointer-events: none;
}
.lime-section .kicker { color: var(--on-lime); }
.lime-section .kicker::before { background: linear-gradient(90deg, transparent, var(--on-lime)); }
.lime-section .section-title { color: var(--on-lime); }
.lime-section .section-sub { color: rgba(11, 13, 6, 0.72); }

.lime-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  position: relative;
}

.lime-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}
.lime-feat {
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 18px;
  padding: 18px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.lime-feat:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.lime-feat h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 600;
}
.lime-feat h3 svg { flex: 0 0 auto; }
.lime-feat p {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(11, 13, 6, 0.7);
}

.lime-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}
.lime-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(11, 13, 6, 0.62);
}

.lime-phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.lime-phone img {
  width: min(380px, 86%);
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.26));
  animation: float-y 7s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(0.4deg); }
  50% { transform: translateY(-16px) rotate(-0.6deg); }
}

/* ---------- 13. Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-card {
  position: relative;
  text-align: center;
  padding: 42px 26px 36px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.45s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-lime);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 280px at var(--mx) var(--my), rgba(193, 255, 51, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.team-card:hover::before { opacity: 1; }

.tc-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
}
.tc-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--lime), transparent 40%, transparent 70%, var(--lime));
  z-index: -1;
  animation: spin-slow 7s linear infinite;
  animation-play-state: paused;
}
.team-card:hover .tc-avatar::before { animation-play-state: running; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.tc-initials {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--lime);
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.tc-role {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- 14. Page hero (product pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 11vh, 120px)) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-glow { z-index: -1; }
.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 20px;
  animation: fade-up 0.8s var(--ease-out) 0.1s both;
}
.page-hero .hero-sub {
  animation-delay: 0.3s;
  max-width: 720px;
}
.page-hero .hero-actions { animation-delay: 0.45s; }

/* kicker chip on page heroes */
.page-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  padding: 8px 16px;
  border-radius: 999px;
  animation: fade-up 0.7s var(--ease-out) both;
}

/* big product art with glow pedestal */
.stage-art {
  display: block;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  position: relative;
}
.stage-wrap {
  position: relative;
  margin-top: clamp(32px, 5vw, 56px);
}
/* hub-orbit.webp trae una franja negra superior: recortarla */
.binnohub-page .stage-art {
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
  object-position: center bottom;
}
.stage-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -40px;
  translate: -50% 0;
  width: 70%;
  height: 110px;
  background: radial-gradient(ellipse at center, var(--lime-glow), transparent 70%);
  filter: blur(40px);
  opacity: 0.5;
  z-index: -1;
}

/* ---------- 15. Feature cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.glass-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s ease, box-shadow 0.45s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-lime);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 300px at var(--mx) var(--my), rgba(193, 255, 51, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }
.glass-card > * { position: relative; }
.glass-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.glass-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* icon tile */
.fi-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  box-shadow: inset 0 0 26px rgba(193, 255, 51, 0.07);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
  margin-bottom: 18px;
}
.glass-card:hover .fi-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 30px rgba(193, 255, 51, 0.22);
}
.fi-icon img { width: 30px; height: 30px; object-fit: contain; }

/* numbered cards (architecture) */
.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.num-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}
.num-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-lime);
}
.nc-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--lime);
  opacity: 0.85;
}
.nc-text {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.num-card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.num-card:hover::after { opacity: 1; }

/* eco grid (2 cols) */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* centered action row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 56px);
}

/* ---------- 16. Steps timeline (flows) ---------- */
.flow-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-inline: auto;
  counter-reset: flow;
}
.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px 22px;
  counter-increment: flow;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), background 0.3s ease;
}
.flow-item:hover {
  border-color: var(--line-lime);
  background: var(--surface-2);
  transform: translateX(8px);
}
.flow-item::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
}
.flow-item p { font-size: 15px; color: var(--ink); }
.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 45px;
  top: 100%;
  height: 14px;
  width: 2px;
  background: var(--line-lime);
}

/* ---------- 17. Quote band ---------- */
.quote-band {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line-lime);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(193, 255, 51, 0.08), transparent 70%),
    var(--surface);
  position: relative;
}
.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

/* ---------- 18. Code block (developers) ---------- */
.code-block {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  background: #0a0c08;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.02);
}
.code-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.code-copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  transition: all 0.25s ease;
}
.code-copy:hover { color: var(--lime); border-color: var(--line-lime); }
.code-block pre {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: #d7e0cd;
}
.code-block .c-k { color: var(--lime); }
.code-block .c-s { color: #9adcff; }
.code-block .c-m { color: var(--muted-2); }

/* ---------- 19. Pre-footer CTA band ---------- */
.cta-band {
  position: relative;
  padding: clamp(84px, 13vw, 150px) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 420px at 50% 110%, rgba(193, 255, 51, 0.14), transparent 65%),
    radial-gradient(900px 500px at 50% 130%, rgba(193, 255, 51, 0.06), transparent 70%);
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-lime), transparent);
}
.cta-title {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.cta-sub {
  text-wrap: pretty;
  color: var(--muted);
  max-width: 560px;
  margin: 20px auto 0;
  font-size: clamp(15px, 1.7vw, 17.5px);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
}

/* ---------- 20. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: clamp(56px, 8vw, 84px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}
.footer-logo { height: 30px; width: auto; }
.footer-tagline {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 14px;
  max-width: 30ch;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--line-lime);
  border-radius: 999px;
  padding: 8px 15px;
}
.social-icons { display: flex; gap: 10px; margin-top: 24px; }
.social-icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.social-icon-link:hover {
  transform: translateY(-4px);
  border-color: var(--line-lime);
  background: var(--lime-soft);
  color: var(--lime);
}
.social-icon { width: 18px; height: 18px; }

.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-link {
  color: var(--muted);
  font-size: 14.5px;
  width: fit-content;
  position: relative;
  transition: color 0.25s ease;
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 0.3s var(--ease-out);
}
.footer-link:hover { color: var(--ink); }
.footer-link:hover::after { width: 100%; }

.footer-bottom {
  margin-top: clamp(40px, 6vw, 60px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.copyright {
  color: var(--muted-2);
  font-size: 13px;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ---------- 21. Notify form (descargar-wallet) ---------- */
.notify-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.notify-form input[type='email'] {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 15px 24px;
  min-width: min(320px, 100%);
  font-family: var(--font);
  font-size: 14.5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.notify-form input[type='email']::placeholder { color: var(--muted-2); }
.notify-form input[type='email']:focus {
  outline: none;
  border-color: var(--line-lime);
  box-shadow: 0 0 0 4px rgba(193, 255, 51, 0.08);
}
.notify-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--lime);
  font-weight: 500;
  font-size: 15px;
}
.notify-success.on { display: inline-flex; animation: fade-up 0.5s var(--ease-out) both; }

/* ---------- 22. Reveal-on-scroll (solo si hay JS: <html class="js">) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease-out) var(--rd, 0s),
    transform 0.9s var(--ease-out) var(--rd, 0s);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card,
  .bento-card:nth-child(2),
  .bento-card:nth-child(3) { grid-column: span 1; min-height: 380px; }
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    padding: 90px 24px 48px;
    overflow-y: auto;
    background: rgba(6, 6, 6, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  /* centrado seguro: centra cuando hay espacio, scrollea cuando no */
  .nav-menu > :first-child { margin-top: auto; }
  .nav-menu > :last-child { margin-bottom: auto; }
  .nav-menu > a,
  .nav-drop > button {
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 500;
    padding: 13px 22px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.25s ease;
  }
  .nav-menu.open > a,
  .nav-menu.open .nav-drop > button {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-menu.open > *:nth-child(1) > button, .nav-menu.open > a:nth-child(1) { transition-delay: 0.06s; }
  .nav-menu.open > *:nth-child(2) > button, .nav-menu.open > a:nth-child(2) { transition-delay: 0.12s; }
  .nav-menu.open > *:nth-child(3) > button, .nav-menu.open > a:nth-child(3) { transition-delay: 0.18s; }
  .nav-menu.open > *:nth-child(4) > button, .nav-menu.open > a:nth-child(4) { transition-delay: 0.24s; }
  .nav-menu.open > *:nth-child(5) > button, .nav-menu.open > a:nth-child(5) { transition-delay: 0.3s; }
  .nav-menu.open > *:nth-child(6) > button, .nav-menu.open > a:nth-child(6) { transition-delay: 0.36s; }

  .nav-drop { display: flex; flex-direction: column; align-items: center; }
  .drop-panel {
    position: static;
    translate: 0 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    display: none;
    padding: 0;
    min-width: 0;
    text-align: center;
  }
  .nav-drop.open .drop-panel { display: block; transform: none; }
  .drop-panel a { justify-content: center; font-size: 17px; }

  .nav-menu > a.nav-cta { margin-left: 0; margin-top: 14px; font-size: 17px; padding: 15px 34px; background: var(--lime); color: var(--on-lime); }

  .hero { min-height: 92vh; min-height: 92svh; }
  .hero-scroll { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .lime-grid { grid-template-columns: 1fr; }
  .lime-phone img { width: min(290px, 70%); }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .eco-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .num-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card { min-height: 340px; padding: 26px; }
  .lime-feats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .step-item { grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 12px; }
  .step-num { width: 44px; height: 44px; border-radius: 13px; font-size: 18px; }
  .step-item:not(:last-child)::after { left: 33px; top: 74px; }
  .demo-card { padding: 20px; }
  .flow-item { grid-template-columns: 40px 1fr; padding: 15px 16px; }
  .flow-item::before { width: 40px; height: 40px; border-radius: 11px; font-size: 13px; }
  .flow-item:not(:last-child)::after { left: 35px; }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  #heroCanvas { display: none; }
}
