/* ─────────────────────────────────────────────
   V-Go Landing — Mobile-first, minimal, fast
   Paleta y tipografía heredadas de la app
   ───────────────────────────────────────────── */

:root {
  /* V-Go brand (igual a app/src/theme/variables.scss) */
  --primary: #9D3DBF;
  --primary-dark: #7B2E96;
  --secondary: #345DD3;
  --tertiary: #29FFB2;
  --dark: #222428;
  --medium: #6a7482;
  --light: #f4f5f8;
  --bg: #fcfcfc;
  --white: #ffffff;
  --border: #e8e8ed;

  --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.10);

  --nav-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Reveal animation (single, lightweight) ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(157,61,191,.30);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.10); }

.btn-mint {
  background: var(--tertiary);
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(41,255,178,.30);
}
.btn-mint:hover { background: #1de89e; }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(34,36,40,.92);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo img {
  height: 26px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--tertiary); }

.nav-cta {
  display: none;
  background: var(--tertiary);
  color: var(--dark);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(34,36,40,.97);
    padding: 12px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.is-open {
    display: flex;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }
}

@media (min-width: 769px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; align-items: center; }
  .nav-toggle { display: none; }
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 32px) 20px 60px;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(193,18,255,.35), transparent 55%),
    radial-gradient(ellipse at -10% 80%, rgba(41,255,178,.18), transparent 50%),
    linear-gradient(180deg, #1a0a2e 0%, #2d1250 60%, #1a0a2e 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(41,255,178,.12);
  color: var(--tertiary);
  border: 1px solid rgba(41,255,178,.30);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #29FFB2 0%, #C112FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 26px;
  max-width: 520px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  max-width: 380px;
}
.hero-stats li {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.10);
}
.hero-stats li:last-child { border-right: none; }
.hero-stats strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tertiary);
  line-height: 1;
}
.hero-stats span {
  font-size: 0.72rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  display: block;
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-img {
  width: 240px;
  height: auto;
  max-width: 100%;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 8px #000, 0 0 0 10px rgba(255,255,255,.10);
}

@media (min-width: 769px) {
  .hero { padding: calc(var(--nav-h) + 60px) 20px 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .hero-visual { justify-content: flex-end; }
  .phone-img { width: 280px; }
}

/* ─────────────────────────────────────────────
   SECTIONS (genérico)
   ───────────────────────────────────────────── */
.section {
  padding: 64px 0;
  position: relative;
}
.section-alt { background: var(--light); }
.section-purple {
  background: linear-gradient(135deg, #2d1250 0%, #9D3DBF 100%);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.section-head h2,
.section h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.section-head p {
  color: var(--medium);
  font-size: 1rem;
}

.eyebrow {
  display: inline-block;
  background: rgba(157,61,191,.10);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-light {
  background: rgba(255,255,255,.14);
  color: var(--tertiary);
}

@media (min-width: 769px) {
  .section { padding: 96px 0; }
}

/* ─────────────────────────────────────────────
   STEPS
   ───────────────────────────────────────────── */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  position: relative;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 12px 0 8px;
}
.step p {
  color: var(--medium);
  font-size: 0.95rem;
}

@media (min-width: 769px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { padding: 32px 26px; }
}

/* ─────────────────────────────────────────────
   VALUE
   ───────────────────────────────────────────── */
.value {
  text-align: center;
  max-width: 760px;
}
.value h2 { margin-bottom: 16px; }
.lead {
  font-size: 1.05rem;
  color: var(--medium);
  margin-bottom: 24px;
  line-height: 1.65;
}
.tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.tag {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}
.tag-mint { background: rgba(41,255,178,.18); color: #0a8a5a; }
.tag-purple { background: rgba(157,61,191,.12); color: var(--primary); }
.tag-blue { background: rgba(52,93,211,.12); color: var(--secondary); }

/* ─────────────────────────────────────────────
   ECOSYSTEM
   ───────────────────────────────────────────── */
.eco-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.eco-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.eco-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.eco-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.eco-card p {
  color: var(--medium);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.chip {
  display: inline-block;
  background: var(--light);
  color: var(--medium);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}
.link-arrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.link-arrow:hover { text-decoration: underline; }

@media (min-width: 769px) {
  .eco-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ─────────────────────────────────────────────
   SÉ PARTE
   ───────────────────────────────────────────── */
.join {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
}
.section-purple h2 { color: var(--white); }
.lead-light {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
.benefits {
  margin-bottom: 28px;
}
.benefits li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: rgba(255,255,255,.88);
  font-size: 0.95rem;
}
.benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--tertiary);
  font-weight: 800;
}

.join-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.join-categories span {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 769px) {
  .join { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .join-categories { justify-content: flex-end; }
}

/* ─────────────────────────────────────────────
   SOCIAL PROOF
   ───────────────────────────────────────────── */
.trust-head {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--medium);
  margin-bottom: 24px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.logo-tile {
  background: var(--dark);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  min-width: 120px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.logo-tile:hover { transform: translateY(-2px); }
.logo-tile img {
  max-height: 32px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 769px) {
  .logos { gap: 28px; }
  .logo-tile { padding: 14px 22px; min-width: 150px; min-height: 64px; }
  .logo-tile img { max-height: 40px; max-width: 140px; }
}

/* ─────────────────────────────────────────────
   FINAL CTA
   ───────────────────────────────────────────── */
.final-cta {
  padding: 72px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(41,255,178,.25), transparent 50%),
    linear-gradient(135deg, #1a0a2e 0%, #9D3DBF 50%, #345DD3 100%);
  color: var(--white);
}
.final-cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.final-cta p {
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.final-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-ctas .btn { min-width: 200px; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s ease, color .2s ease;
}
.socials a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
}
.footer-col a:hover { color: var(--tertiary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom p:last-child { margin-top: 4px; }

@media (min-width: 769px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
}

/* ─────────────────────────────────────────────
   FLOATING CTA (mobile)
   ───────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(157,61,191,.50);
  transition: transform .3s ease;
}
.floating-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 769px) {
  .floating-cta { display: none; }
}

/* ─────────────────────────────────────────────
   LEGAL PAGES (privacidad, términos)
   ───────────────────────────────────────────── */
.legal-hero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 20px 40px;
  background: linear-gradient(135deg, #1a0a2e 0%, #9D3DBF 100%);
  color: var(--white);
  text-align: center;
}
.legal-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-eyebrow {
  display: inline-block;
  background: rgba(41,255,178,.15);
  color: var(--tertiary);
  border: 1px solid rgba(41,255,178,.30);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.2;
}
.legal-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.legal-back:hover { color: var(--white); }

.legal-main {
  background: var(--bg);
  padding: 48px 0 80px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.legal-content p {
  color: var(--medium);
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 0.95rem;
}
.legal-content .legal-lead {
  font-size: 1rem;
  color: var(--dark);
}
.legal-content strong { color: var(--dark); font-weight: 600; }
.legal-content h2 {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 800;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(157,61,191,.15);
  scroll-margin-top: 80px;
}
.legal-content h3 {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
  margin: 24px 0 10px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 22px;
  list-style: revert;
  color: var(--medium);
}
.legal-content li { margin-bottom: 6px; line-height: 1.65; font-size: 0.95rem; }
.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.legal-note {
  background: rgba(157,61,191,.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
}
.legal-toc {
  background: var(--light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 32px;
}
.legal-toc-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 10px;
}
.legal-toc ol {
  margin: 0 0 0 20px;
  list-style: decimal;
  font-size: 0.9rem;
  color: var(--dark);
}
.legal-toc li { margin-bottom: 5px; }
.legal-toc a { color: var(--dark); }
.legal-toc a:hover { color: var(--primary); text-decoration: underline; }
