:root {
  --bg: #0b0920;
  --bg2: #121033;
  --card: #191543;
  --card2: #1f1a52;
  --ink: #ffffff;
  --muted: #a9a4d6;
  --prime: #7c5cff;
  --accent: #00d4a7;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 92, 255, 0.25), transparent 60%),
    radial-gradient(1000px 500px at -10% 20%, rgba(0, 212, 167, 0.14), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 64px);
  backdrop-filter: blur(14px);
  background: rgba(11, 9, 32, 0.75);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 42px; height: 42px; border-radius: 12px; }
.logo.sm { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--line); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--prime), var(--accent));
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 92, 255, 0.55); }
.btn-primary.big { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary.full { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  transition: 0.2s;
}
.btn-ghost:hover { border-color: var(--prime); background: rgba(124, 92, 255, 0.1); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 5vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.grad {
  background: linear-gradient(135deg, #b49bff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub { color: var(--muted); font-size: 1.08rem; max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }

.stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 20px;
}
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 1.7rem; letter-spacing: -0.5px; }
.stats span { color: var(--muted); font-size: 0.88rem; }

.hero-visual { position: relative; min-height: 360px; }
.chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  animation: float 7s ease-in-out infinite;
}
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chart-head span { color: var(--muted); font-weight: 600; }
em.up { color: var(--accent); font-style: normal; font-weight: 800; }
em.down { color: #ff7b9c; font-style: normal; font-weight: 800; }
.chart { width: 100%; height: 140px; }
.chart-legend { display: flex; gap: 14px; margin-top: 12px; color: var(--muted); font-size: 0.8rem; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.float-card {
  position: absolute;
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.float-card svg { width: 26px; height: 26px; }
.float-card .coin {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--prime), var(--accent));
  display: grid; place-items: center;
  font-weight: 800;
}
.float-card strong { font-size: 1.05rem; display: block; }
.float-card span { font-size: 0.78rem; color: var(--muted); }
.card-a { top: -18px; right: 8%; animation: float 6s ease-in-out infinite reverse; }
.card-b { bottom: -14px; left: 2%; animation: float 8s ease-in-out infinite; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 64px); }
.section.alt { background: var(--bg2); border-block: 1px solid var(--line); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .sub { margin: 0 auto; margin-top: 6px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -1px; line-height: 1.15; margin-bottom: 10px; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--prime); }
.card-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card-ico svg { width: 28px; height: 28px; }
.ico1 { background: rgba(124, 92, 255, 0.18); color: #b49bff; }
.ico2 { background: rgba(0, 212, 167, 0.15); color: var(--accent); }
.ico3 { background: rgba(255, 140, 66, 0.15); color: #ffb36b; }
.ico4 { background: rgba(90, 200, 250, 0.15); color: #7cd0ff; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.tag {
  align-self: flex-start;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--line);
  color: var(--accent);
}

/* Mercado */
#mercado { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; }
.glove-wrap { position: relative; }
.globe { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(124,92,255,0.4)); }
#mercado .section-visual { position: relative; }
#mercado .section-copy h2 { margin-bottom: 12px; }
#mercado .section-copy > .sub { margin-bottom: 20px; }

.ticker {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 0;
  backdrop-filter: blur(6px);
}
.ticker-track { display: inline-flex; gap: 28px; white-space: nowrap; padding-left: 100%; animation: scroll 22s linear infinite; }
.ticker-track span { font-size: 0.9rem; color: var(--muted); }
.ticker-track b { font-weight: 700; margin-left: 6px; }
@keyframes scroll { to { transform: translateX(-100%); } }

.check-list { list-style: none; margin-top: 8px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--prime), var(--accent));
}
.check-list li::after {
  content: "✓";
  position: absolute;
  left: 5px; top: 4px;
  font-size: 0.75rem; font-weight: 800; color: #fff;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.t-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--prime), var(--accent));
}
.t-card blockquote { font-size: 1.02rem; color: #e6e3ff; font-style: italic; flex: 1; }
.t-card figcaption stark { }
.t-card figcaption strong { display: block; }
.t-card figcaption span { color: var(--muted); font-size: 0.85rem; }

/* Oficina */
.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto 28px;
}
.office-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.office-shot.big { grid-row: span 2; }
.office-shot svg { width: 100%; height: 100%; min-height: 130px; display: block; transition: transform 0.4s; }
.office-shot:hover svg { transform: scale(1.05); aspect-ratio: auto; }
.office-meta {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}
.office-meta strong { display: block; }
.office-meta span { color: var(--muted); font-size: 0.92rem; }

/* Contacto */
.cta { text-align: center; }
.cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.cta-card h2 { margin-bottom: 8px; }
.cta-card .sub { margin: 0 auto 28px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.contacts { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.c-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 0.98rem; }
.c-item:hover { color: var(--accent); }
.c-ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--line);
  display: grid; place-items: center;
  font-size: 1.05rem;
}
.socials { display: flex; gap: 12px; }
.s-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--line);
  display: grid; place-items: center;
  transition: 0.2s;
}
.s-ico svg { width: 22px; height: 22px; }
.s-ico:hover { background: linear-gradient(135deg, var(--prime), var(--accent)); transform: translateY(-3px); }

.legal { color: var(--muted); font-size: 0.8rem; margin-top: 22px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px clamp(16px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .legal { margin: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero, #mercado { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .nav-links { display: none; }
  .office-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .office-gallery { grid-template-columns: 1fr; }
  .office-shot.big { grid-row: auto; }
  .contact-row { flex-direction: column; }
}