/* ════════════════════════════════════════════════════════
   Finbase · /elegir/ — prehome de selección de estilo
   Cada botón ES una muestra del estilo al que lleva.
   ════════════════════════════════════════════════════════ */

:root {
  --bg:        #F7F7F7;
  --text:      #08304C;
  --text-soft: #4A5870;
  --text-muted:rgba(8, 48, 76, 0.55);
  --indigo:    #4F46E5;
  --cyan:      #06B6D4;
  --coral:     #FF6B47;
  --gradient:  linear-gradient(135deg, #4F46E5, #06B6D4);
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
}

/* ─── Volver ─── */
.elegir-back {
  position: fixed;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}
.elegir-back:hover {
  background: #fff;
  color: var(--text);
  transform: translateX(-2px);
}
.elegir-back svg { width: 14px; height: 14px; }

/* ─── Main ─── */
.elegir {
  text-align: center;
  max-width: 920px;
  width: 100%;
}
/* Logo grande con icono + texto "Finbase" como protagonista */
.elegir-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 32px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.elegir-logo svg {
  width: 64px;
  height: 64px;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(99, 102, 241, 0.18));
}
.elegir-logo-text {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
}
.elegir-logo:hover { transform: translateY(-2px); }
@media (max-width: 540px) {
  .elegir-logo svg { width: 52px; height: 52px; }
  .elegir-logo-text { font-size: 30px; }
}

.elegir-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.05);
}
.elegir-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 540px;
  margin: 0 auto 56px;
}

/* ─── Las 2 opciones ─── */
.elegir-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .elegir-options { grid-template-columns: 1fr; gap: 56px; }
}

.opt {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  padding: 12px;
  position: relative;
  outline: none;
}
.opt:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; border-radius: 16px; }

/* ════════════════════════════════════════════════════════
   PROPUESTA A · Estilo Cinematic Neobank Light Mode
   Pill blanco con borde gradient + mini-anillo Apple Fitness
   ════════════════════════════════════════════════════════ */
.opt-a {
  perspective: 1000px;
}
.opt-a-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 26px 32px 26px 26px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  width: 100%;
  position: relative;
  /* Borde con gradient indigo→cyan al estilo Stripe / Linear */
  box-shadow:
    0 0 0 1.5px transparent,
    0 1px 3px rgba(8, 48, 76, 0.06),
    0 18px 36px -10px rgba(99, 102, 241, 0.20);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.opt-a-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.opt-a:hover .opt-a-card {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1.5px transparent,
    0 4px 8px rgba(8, 48, 76, 0.08),
    0 28px 50px -10px rgba(99, 102, 241, 0.30);
}

.opt-a-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.opt-a-ring svg {
  width: 100%;
  height: 100%;
}
.opt-a-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.opt-a-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.opt-a-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.opt-a-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.opt-a-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════
   PROPUESTA B · Estilo Pizarra
   Post-it amarillo cremoso con cinta coral, "pizarra" handwritten
   ════════════════════════════════════════════════════════ */
.opt-b {
  perspective: 1000px;
}
/* Post-it más fino: padding reducido, line-height ajustado, sin emoji.
   El título completo en Caveat handwritten para reforzar la metáfora. */
.opt-b-postit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: #FFF8C9;
  color: var(--text);
  padding: 22px 24px 20px;
  border-radius: 4px;
  width: 100%;
  text-align: left;
  transform: rotate(-2deg);
  transform-origin: 50% 0%;
  box-shadow:
    0 2px 6px rgba(8, 48, 76, 0.10),
    0 18px 38px -10px rgba(8, 48, 76, 0.25);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
  /* Líneas tipo libreta */
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 1.5em,
    rgba(8, 48, 76, 0.05) 1.5em,
    rgba(8, 48, 76, 0.05) calc(1.5em + 1px)
  );
}
.opt-b:hover .opt-b-postit {
  transform: rotate(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
              box-shadow 0.4s ease;
  box-shadow:
    0 4px 10px rgba(8, 48, 76, 0.12),
    0 28px 54px -12px rgba(8, 48, 76, 0.32);
}
.opt-b-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 64px;
  height: 18px;
  background: rgba(255, 107, 71, 0.42);
  border-left: 1px solid rgba(255, 107, 71, 0.45);
  border-right: 1px solid rgba(255, 107, 71, 0.45);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 2px rgba(8, 48, 76, 0.10);
}
.opt-b-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.opt-b-title {
  font-family: var(--font-hand);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.opt-b-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Hint final ─── */
.elegir-hint {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 520px;
  margin: 12px auto 0;
}

/* ─── Reduce motion ─── */
@media (prefers-reduced-motion: reduce) {
  .opt-a-card, .opt-b-postit { transition: none; }
}
