:root {
  --violet: #a855f7;         /* violeta principal del frontend */
  --violet-dark: #7e22ce;
  --violet-soft: #c084fc;
  --ink: #2b1a44;
  --muted: #6b6580;
  --line: #ece6f7;
  --radius: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  /* Base violeta + blanco (tono claro) */
  background: linear-gradient(160deg, #ffffff 0%, #fdfbff 55%, #f7efff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

[data-anim] { opacity: 0; }

/* ---- Aurora animada (blobs de violeta que derivan) ---- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(64px);
  will-change: transform;
}
.b1 { width: 46vw; height: 46vw; top: -12vw; left: -8vw;
  background: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.38), transparent 70%); }
.b2 { width: 42vw; height: 42vw; bottom: -14vw; right: -8vw;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.28), transparent 70%); }
.b3 { width: 34vw; height: 34vw; top: 38%; left: 54%;
  background: radial-gradient(circle at 50% 50%, rgba(216, 180, 254, 0.45), transparent 70%); }
.b4 { width: 30vw; height: 30vw; top: 56%; left: 6%;
  background: radial-gradient(circle at 50% 50%, rgba(237, 220, 255, 0.6), transparent 70%); }

/* ---- Grano sutil (textura premium) ---- */
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Glow que sigue el cursor ---- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 440px; height: 440px; margin: -220px 0 0 -220px;
  pointer-events: none; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 62%);
}

.wrap {
  position: relative; z-index: 1;
  flex: 1; width: 100%; max-width: 1120px; margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 20px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}

/* ---- Pitch ---- */
.pitch { position: relative; }

/* Marca en su propia línea (así la pastilla "Muy pronto" cae debajo) */
.brand { display: flex; width: fit-content; align-items: center; margin-bottom: 20px; text-decoration: none; }
.brand-logo { height: clamp(52px, 6vw, 66px); width: auto; display: block; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet-dark);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}

.title {
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.04; letter-spacing: -0.03em;
  margin: 0 0 18px; font-weight: 900;
}
.grad {
  background: linear-gradient(120deg, #a855f7, #c084fc, #d8b4fe, #a855f7);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 300% 0; } }

.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 48ch; margin: 0 0 30px; }

/* Beneficios: alineados (icono de ancho fijo) y un poco más grandes */
.perks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; position: relative; z-index: 2; }
.perks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.perks li span {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center; font-size: 20px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 10px;
}

.counter {
  display: inline-block; font-size: 14px; color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  padding: 8px 16px; border-radius: 999px;
}
.counter strong { color: var(--violet-dark); font-size: 18px; }

/* ---- Fichas flotantes (glass) repartidas por TODA la pantalla ---- */
.tokens { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.token {
  position: absolute;
  width: clamp(42px, 4.6vw, 60px); height: clamp(42px, 4.6vw, 60px);
  display: grid; place-items: center; font-size: clamp(20px, 2.4vw, 28px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 34px -16px rgba(168, 85, 247, 0.4);
  will-change: transform;
}
/* Distribuidas a lo largo y ancho (evitando el centro donde va el contenido) */
.t1 { top: 9%;  left: 6%; }
.t2 { top: 6%;  left: 43%; }
.t3 { top: 12%; left: 88%; }
.t4 { top: 40%; left: 3%; }
.t5 { top: 34%; left: 94%; }
.t6 { top: 66%; left: 90%; }
.t7 { top: 84%; left: 12%; }
.t8 { top: 88%; left: 46%; }
.t9 { top: 80%; left: 78%; }

/* ---- Card / formulario (glassmorphism) ---- */
.card {
  position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 40px 80px -34px rgba(126, 34, 206, 0.45);
  color: var(--ink);
}
/* Barrido de luz periódico (sheen) tipo material premium */
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  background-size: 250% 100%; background-position: 150% 0;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%, 55% { background-position: 150% 0; } 100% { background-position: -80% 0; } }

.card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.card-sub { margin: 0 0 22px; color: var(--muted); font-size: 14px; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
label { font-size: 13px; font-weight: 600; color: #4b4560; }

input, select, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
input::placeholder, textarea::placeholder { color: #b7b0c6; }
input:focus, select:focus, textarea:focus {
  border-color: var(--violet); background: #fff;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
textarea { resize: vertical; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 4px 0 14px; }

button[type="submit"] {
  position: relative; z-index: 1;
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--violet-dark));
  padding: 14px 18px; border-radius: 14px;
  box-shadow: 0 14px 28px -8px rgba(126, 34, 206, 0.55);
  transition: transform 0.12s, filter 0.12s, opacity 0.12s;
}
button[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }
button[type="submit"]:active { transform: translateY(0); }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-bag { font-size: 18px; display: inline-block; will-change: transform; }

.fineprint { font-size: 11.5px; color: #9ca3af; text-align: center; margin: 12px 0 0; }

/* ---- Éxito ---- */
.success { position: relative; z-index: 1; text-align: center; padding: 24px 8px; }
.check {
  width: 70px; height: 70px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; font-size: 36px; font-weight: 900; box-shadow: 0 16px 32px -10px rgba(34, 197, 94, 0.6);
}
.success h2 { margin: 0 0 8px; color: var(--ink); }
.success p { color: var(--muted); font-size: 15px; margin: 0; }

.foot { position: relative; z-index: 1; text-align: center; color: #9b93ad; font-size: 13px; padding: 20px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .wrap { grid-template-columns: 1fr; }
  /* Menos fichas y más tenues para no competir con el contenido */
  .tokens { opacity: 0.7; }
  .t2, .t8 { display: none; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .tokens { opacity: 0.6; }
  /* En móvil, solo las 4 esquinas */
  .t4, .t5, .t6 { display: none; }
  .t1 { top: 6%; left: 4%; }
  .t3 { top: 6%; left: 82%; }
  .t7 { top: 90%; left: 6%; }
  .t9 { top: 90%; left: 80%; }
}

/* Menos movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; }
  .grad, .card::after { animation: none; }
  .card::after { display: none; }
}
