@font-face {
  font-family: 'Pixelta';
  src: url('/fonts/Pixelta.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helios Extended';
  src: url('/fonts/heliosext-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helios Extended';
  src: url('/fonts/heliosext-bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helios Extended';
  src: url('/fonts/heliosext-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helios Extended';
  src: url('/fonts/heliosext-bold-italic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #F5F0DD;
  --panel: #FFFFFF;
  --panel-2: #EDE7C9;
  --accent: #CC5500;
  --accent-2: #4482A3;
  --text: #111111;
  --text-dim: #3A3A3A;
  --border: rgba(0,0,0,0.15);
  --danger: #C1483F;
  /* SF Pro real en iPhone/Mac; en cualquier otro dispositivo cae a Inter, el sustituto más fiel */
  --ios-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background-color: #FFFFFF;
  color: var(--text);
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
}

/* Ambiente cálido que recorre toda la landing: mismas tonalidades del hero,
   pero cada mancha más grande y más tenue mientras se baja en la página. */
body.lp-body {
  background-color: #f2f3f8;
  background-image: url('/img/fondo-loop.svg');
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

h1, h2, h3, .display {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0;
}

a { color: var(--accent-2); }

/* Elementos cortos con la fuente decorativa (números, nombres de plan, etc.) */
.accent-word,
.stat-number {
  font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
}

.logo-img { height: 40px; display: block; }
.logo-img-lg { height: 64px; display: block; }

/* ---------- Layout: pantalla partida (signup / login) ---------- */

.split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-pitch { display: none; }
}

.split-pitch {
  background: linear-gradient(160deg, var(--panel), var(--ink) 70%);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.split-pitch h1 {
  font-size: 34px;
  line-height: 1.15;
  max-width: 420px;
}

.split-pitch p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
  margin-top: 14px;
}

.pitch-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.pitch-stats div { display: flex; flex-direction: column; }
.pitch-stats .stat-number { font-size: 26px; color: var(--accent-2); }
.pitch-stats .stat-label { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.split-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

form.panel {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

form.panel h2 { font-size: 22px; margin-bottom: 6px; }
form.panel .sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 24px; }

label {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 16px 0 6px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text);
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  outline: none;
}
input:focus, select:focus { border-color: var(--accent); }

button {
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: var(--text);
  padding: 13px;
  font-size: 14.5px;
  margin-top: 24px;
}
.btn-primary:active { transform: scale(0.98); }

.card-type-choice { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.card-type-option {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--ink); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; cursor: pointer; margin: 0; font-size: 13px; color: var(--text-dim);
  position: relative;
}
.card-type-option:has(input:checked) { border-color: var(--accent); background: rgba(204,85,0,0.1); }
.card-type-option input[type="radio"] { position: absolute; top: 14px; right: 14px; margin: 0; }
.card-type-title { font-size: 14px; font-weight: 700; color: var(--text); }
.card-type-desc { font-size: 12.5px; color: var(--text-dim); line-height: 1.4; padding-right: 26px; }

.hint { font-size: 12px; color: var(--text-dim); margin: 8px 0 0; line-height: 1.4; }

.form-footer {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.error-box {
  background: rgba(193,72,63,0.12);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 16px;
  display: none;
}
.error-box.show { display: block; }

/* ---------- Layout: dashboard ---------- */

.dash-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 380px;
}
@media (max-width: 900px) {
  .dash-wrap { grid-template-columns: 1fr; }
}

.dash-topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.dash-topbar .logo { font-size: 17px; }

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.nav-link:hover { background: var(--panel-2); }
.nav-link.active {
  color: var(--text);
  background: var(--panel);
  border-color: var(--border);
}

.dash-topbar button.logout {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 8px 14px;
  font-size: 13px;
}

.welcome-banner {
  grid-column: 1 / -1;
  padding: 14px 28px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}
.welcome-banner strong { color: var(--text); }
.welcome-emoji { margin-right: 4px; }

.dash-form {
  padding: 32px 28px;
}
.dash-form h2 { font-size: 20px; margin-bottom: 4px; }
.dash-form .sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 28px; }

.field-group {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.type-chip {
  border: 1px solid var(--border);
  background: var(--ink);
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}
.type-chip.active {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(204,85,0,0.18);
}

.color-row { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.color-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}
.color-dot.active { border-color: var(--text); box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--text); }

.custom-color-input {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
.custom-color-input::-webkit-color-swatch-wrapper { padding: 2px; }
.custom-color-input::-webkit-color-swatch { border: none; border-radius: 6px; }

.stepper { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink); border: 1px solid var(--border); color: var(--text);
  font-size: 16px;
}
.stepper .value { font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif; font-size: 18px; min-width: 24px; text-align: center; }

.logo-upload {
  display: flex; align-items: center; gap: 12px; margin-top: 6px;
}
.logo-upload img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--ink); }
.logo-upload label.btn-upload {
  background: var(--ink); border: 1px solid var(--border); color: var(--text-dim);
  padding: 8px 12px; border-radius: 8px; font-size: 12.5px; cursor: pointer;
}

.save-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.save-row button { padding: 12px 20px; background: var(--accent); color: var(--text); font-size: 14px; }
.save-status { font-size: 12.5px; color: var(--accent-2); opacity: 0; transition: opacity .3s; }
.save-status.show { opacity: 1; }

.share-row { display: flex; gap: 8px; margin-top: 4px; }
.share-row input {
  flex: 1;
  background: var(--ink); border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 8px; padding: 10px 12px; font-size: 12.5px;
}
.btn-copy {
  background: var(--ink); border: 1px solid var(--border); color: var(--text);
  padding: 0 14px; border-radius: 8px; font-size: 12.5px;
}
.qr-image {
  width: 140px; height: 140px; margin-top: 16px;
  border-radius: 10px; background: #fff; padding: 8px;
}
.share-hint { font-size: 12px; color: var(--text-dim); margin-top: 12px; line-height: 1.5; }

.preview-slider {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--accent-2);
}

/* ---------- Vista previa (tarjeta) ---------- */

.preview-pane {
  background: linear-gradient(180deg, var(--panel), var(--ink));
  border-left: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
}

.phone { width: 250px; }

.wallet-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.35);
  color: var(--text);
}

.wc-top { padding: 22px 18px 14px; text-align: center; }
.wc-top .biz-name {
  font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px; font-weight: 700; line-height: 1.2;
}
.wc-top .reward-line { font-size: 11.5px; margin-top: 8px; line-height: 1.4; opacity: 0.85; }
.wc-top-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wc-logo-lg {
  width: 44px; height: 44px; border-radius: 12px;
  object-fit: cover; flex-shrink: 0;
  background: rgba(255,255,255,0.3);
}
.wc-logo-fallback {
  width: 44px; height: 44px; border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', -apple-system, sans-serif;
  font-size: 18px; font-weight: 700;
  background: rgba(0,0,0,0.14);
  margin: 0 auto;
}

.wc-stripe {
  padding: 18px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.wc-stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wc-stamp img { width: 68%; height: 68%; object-fit: contain; }

.wc-bottom { padding: 14px 18px 18px; }
.wc-bottom-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 11px; }
.wc-bottom-row .lbl { opacity: 0.7; letter-spacing: 0.02em; }
.wc-bottom-row .visits-num { font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif; font-size: 20px; font-weight: 700; }
.wc-qr {
  width: 76px; height: 76px; margin: 14px auto 6px;
  background: repeating-conic-gradient(currentColor 0% 25%, transparent 0% 50%) 0 0/10px 10px;
  opacity: 0.85;
}
.wc-tagline { text-align: center; font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 500; opacity: 0.55; margin-top: 6px; letter-spacing: 0.02em; }

.wallet-brand {
  text-align: center;
  font-size: 9px;
  opacity: 0.55;
  margin-top: 16px;
  letter-spacing: 0.05em;
}

.lp-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; border-bottom: 1px solid transparent;
  position: sticky; top: 0; background: #c64a19; z-index: 10;
  flex-wrap: wrap; gap: 12px;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.lp-nav.lp-nav-scrolled {
  box-shadow: 0 8px 24px -18px rgba(0,0,0,0.35);
}
.lp-nav-logo { height: 38px; }
.lp-nav-links { display: flex; align-items: center; gap: 26px; }
.lp-nav-links > a { color: #e8e8a5; font-size: 14px; font-weight: 600; text-decoration: none; }
.lp-nav-cta { display: flex; align-items: center; gap: 14px; }
.lp-link-btn { color: #e8e8a5; font-size: 14px; font-weight: 600; text-decoration: none; }
.lp-cta-btn {
  background: #d1743f; color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.lp-cta-lg { padding: 15px 28px; font-size: 15px; border-radius: 12px; background: #9ed6de; color: #16323a; }

/* Dropdown "Tarjetas" (nav de escritorio) */
.lp-nav-dropdown-wrap { position: relative; }
.lp-nav-dropdown-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: #e8e8a5; font-size: 14px; font-weight: 600; font-family: inherit;
}
.lp-nav-dropdown-menu {
  display: none;
  position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%);
  background: #d1743f;
  min-width: 190px;
  padding: 16px 18px 20px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 14px 24px -10px rgba(0,0,0,0.3);
  flex-direction: column; gap: 12px;
  margin-top: 14px;
  z-index: 30;
}
.lp-nav-dropdown-menu a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lp-nav-dropdown-wrap:hover .lp-nav-dropdown-menu,
.lp-nav-dropdown-wrap.is-open .lp-nav-dropdown-menu {
  display: flex;
}

/* ---------- Nav móvil (rediseño con mascota + menú desplegable) ---------- */

.lpm-nav { display: none; }

@media (max-width: 700px) {
  .lp-nav { display: none; }

  .lpm-nav {
    display: block;
    position: sticky; top: 0; z-index: 20;
  }
  .lpm-nav-top {
    background: #d1743f;
    padding: 22px 20px 24px;
    text-align: center;
  }
  .lpm-nav-logo { height: 46px; display: inline-block; }

  .lpm-nav-strip {
    background: #c64a19;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 13px 10px;
    position: relative;
  }
  .lpm-nav-strip a,
  .lpm-nav-toggle {
    color: #e8e8a5;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
  }

  .lpm-nav-dropdown {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    background: #d1743f;
    width: 210px;
    padding: 20px 18px 26px;
    border-radius: 0 0 36px 36px;
    box-shadow: 0 14px 24px -10px rgba(0,0,0,0.25);
    z-index: 21;
  }
  .lpm-nav-dropdown.is-open { display: flex; }
  .lpm-nav-dropdown a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
  }
}

.lp-hero {
  padding: 70px 24px 60px;
}
.lp-hero-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "top visual" "bottom visual";
  gap: 8px 40px; align-items: center;
}
.lp-hero-copy-top { grid-area: top; align-self: end; }
.lp-hero-copy-bottom { grid-area: bottom; align-self: start; }
.lp-hero-visual { grid-area: visual; }
@media (max-width: 860px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "visual" "bottom";
    text-align: center;
    row-gap: 34px;
  }
  .lp-hero-copy-top, .lp-hero-copy-bottom { align-self: auto; }
}
.lp-hero-copy-top h1, .lp-hero-copy h1 { font-size: 34px; line-height: 1.15; font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif; }
.lp-hero-copy-top, .lp-hero-copy-bottom, .lp-hero-copy { animation: lp-fade-up 0.7s ease both; }
.lp-eyebrow {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.lp-hero h1 { font-size: 38px; line-height: 1.15; font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif; }
@media (max-width: 860px) {
  .lp-hero-copy-top h1, .lp-hero h1 { font-size: 26px; line-height: 1.05; }
  .lp-hero-copy-top .lp-eyebrow, .lp-hero .lp-eyebrow {
    font-size: 10px; letter-spacing: 0.03em; white-space: nowrap;
  }
}
.lp-hero-sub { font-family: 'Helios Extended', -apple-system, sans-serif; font-size: 16px; color: var(--text-dim); margin: 18px auto 28px; max-width: 560px; line-height: 1.6; }
.lp-hero-trust { margin-top: 14px; font-size: 13px; color: var(--text-dim); }

/* ---------- Visual del hero: tarjeta flotando ---------- */

.hero-phone-wrap {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  animation: lp-fade-up 0.8s ease 0.15s both, lp-float 6s ease-in-out infinite;
}
.hero-phone-img { position: relative; z-index: 2; width: 100%; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25)); }

.hero-phone-shadow {
  position: absolute;
  left: 50%; bottom: -6%;
  width: 68%; height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(92,45,15,0.45), transparent 72%);
  filter: blur(6px);
  z-index: 1;
  animation: lp-shadow-pulse 5s ease-in-out infinite;
}

.hero-emoji {
  position: absolute; z-index: 3;
  font-size: 42px; line-height: 1;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,0.2));
  animation: lp-emoji-float 5s ease-in-out infinite;
}
.hero-emoji-gift { top: 6%; right: -6%; animation-delay: .2s; }
.hero-emoji-party { top: 46%; left: -12%; font-size: 38px; animation-delay: 1.1s; }
.hero-emoji-star { bottom: 4%; right: -8%; animation-delay: .6s; }

@media (max-width: 560px) {
  .hero-phone-wrap { max-width: 210px; }
  .hero-emoji { font-size: 30px; }
  .hero-emoji-gift { right: -2%; }
  .hero-emoji-party { left: -4%; }
  .hero-emoji-star { right: -2%; }
}
@media (max-width: 380px) {
  .hero-phone-wrap { max-width: 175px; }
  .hero-emoji { font-size: 24px; }
}

@keyframes lp-emoji-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-6deg); }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes lp-shadow-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
}
@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lp-notif-pop {
  0%, 14% { opacity: 0; transform: translateY(-8px) scale(0.96); }
  20%, 80% { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(-8px) scale(0.96); }
}

/* ---------- Animación al aparecer en scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].lp-visible {
  opacity: 1;
  transform: translateY(0);
}

.lp-section { max-width: 1040px; margin: 0 auto; padding: 70px 24px; }
.lp-section-alt { background: var(--panel-2); max-width: none; }
.lp-section-alt > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.lp-eyebrow-pill {
  display: inline-block;
  background: #9ed6de; color: #16323a;
  padding: 8px 20px; border-radius: 999px;
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 0.02em; text-transform: none;
}
.demo-stamp-actions {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}
.demo-stamp-btn {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-weight: 700; font-size: 12px;
  background: #9ed6de; color: #16323a;
  border: none; border-radius: 999px; padding: 10px 18px;
  cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.demo-stamp-btn:hover { transform: translateY(-1px); }
.demo-stamp-btn:active { transform: translateY(0) scale(0.97); }
.demo-stamp-btn-reset { background: rgba(0,0,0,0.08); color: var(--text); }

.lp-section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.lp-section-head h2 { font-size: 28px; line-height: 1.2; font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif; }
.lp-section-sub { color: var(--text-dim); font-size: 14.5px; margin-top: 10px; }

/* ---------- Bandas y tarjetas de sección: le dan estructura de "página" real ---------- */
.lp-band { padding: 56px 20px; }
.lp-band-yellow { background: #fff2cb; padding-bottom: 0; }
.lp-band-yellow .lp-band-inner { padding-bottom: 44px; }

/* Ticker/marquee: "Prueba gratis de 14 días" en bucle */
.lp-ticker {
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw;
  overflow: hidden;
  background: #9ed6de;
  padding: 12px 0;
}
.lp-ticker-track {
  display: flex; width: max-content;
  animation: lp-ticker-scroll 16s linear infinite;
}
.lp-ticker-track span {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #16323a; white-space: nowrap; padding: 0 20px;
  display: flex; align-items: center;
}
.lp-ticker-track span:not(:last-child)::after {
  content: "•"; margin-left: 20px; opacity: 0.6;
}
@keyframes lp-ticker-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.lp-ticker-sm { padding: 3px 0; }
.lp-ticker-sm .lp-ticker-track span {
  font-size: 8px; letter-spacing: 0.02em; padding: 0 8px;
}
.lp-ticker-sm .lp-ticker-track span:not(:last-child)::after { margin-left: 8px; }
/* Ya no alternamos color de fondo por sección — solo el degradado ambiental del body y las tarjetas dan la separación visual */
.lp-card {
  max-width: 1080px; margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 52px 44px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.25);
}
.lp-band-inner { max-width: 1080px; margin: 0 auto; }

@media (max-width: 700px) {
  .lp-card { padding: 34px 22px; border-radius: 20px; }
  .lp-band { padding: 40px 14px; }
}

/* ---------- "¿Qué es Loopix?" — texto informativo pero con fuerza ---------- */
.lp-pitch-card { max-width: 740px; }
.lp-pitch-lead {
  font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif;
  font-size: 24px; line-height: 1.35; color: var(--text);
  margin: 0 0 20px;
}
.lp-pitch-text {
  font-size: 15.5px; line-height: 1.75; color: var(--text-dim);
  margin: 0 0 18px;
}
.lp-pitch-text strong { color: var(--accent); }
.lp-pitch-punch {
  font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--text);
  margin: 28px 0 0; padding-top: 22px;
  border-top: 1px dashed var(--border);
}
@media (max-width: 700px) {
  .lp-pitch-lead { font-size: 19px; }
  .lp-pitch-text { font-size: 14.5px; }
  .lp-pitch-punch { font-size: 15.5px; }
}

@keyframes lp-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.lp-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .lp-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-features-grid { grid-template-columns: 1fr; } }
.lp-feature-card {
  position: relative;
  display: flex; align-items: center; gap: 9px;
  text-align: left;
  background: #fff;
  border-radius: 16px; padding: 16px 16px;
  box-shadow: 0 14px 30px -20px rgba(92,45,15,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (max-width: 560px) {
  .lp-feature-card { margin: 0 16px; padding: 20px 16px; }
}
.lp-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 36px -18px rgba(92,45,15,0.35); }

.lp-feature-number {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-size: 56px; font-weight: 700; color: #9ed6de; line-height: 1;
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 560px) {
  .lp-feature-number { font-size: 46px; }
}
.lp-feature-text { min-width: 0; }
.lp-feature-card h3 {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  text-transform: uppercase; color: var(--text); font-size: 12.5px; font-weight: 700;
  margin: 1px 0 5px; letter-spacing: 0.01em;
}
.lp-feature-card p { font-family: 'Helios Extended', -apple-system, sans-serif; font-size: 11.5px; color: var(--text-dim); line-height: 1.45; margin: 0; }

/* ---------- Tipos de negocio ---------- */
.lp-type-typewriter {
  display: inline-flex; align-items: center; gap: 3px;
  margin: 14px auto 6px;
  padding: 10px 26px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: 'Pixelta', -apple-system, sans-serif;
  font-size: 30px;
  color: var(--accent);
  min-width: 220px;
  justify-content: center;
}
.lp-type-cursor { animation: lp-blink 1s step-end infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }

#tipos.lp-band { background: #fff; padding-bottom: 0; }
#tipos.lp-band .lp-band-inner { padding-bottom: 44px; }

/* ---------- Carrusel: ejemplos reales de tarjetas dentro del Wallet ---------- */
.wcc-wrap { margin-top: 40px; }
.wcc-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.wcc-arrow {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px -14px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.wcc-arrow:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.06); }
.wcc-arrow:active { transform: scale(0.94); }

/* Las tarjetas ya traen sus propias esquinas redondeadas con fondo
   transparente (PNG), así que aquí no recortamos con overflow:hidden ni
   ponemos box-shadow rectangular — eso dejaría ver un cuadro detrás de la
   forma redonda. drop-shadow sigue la silueta real (transparente incluida). */
.wcc-side {
  flex-shrink: 0;
  width: 150px; height: 300px;
  cursor: pointer;
  opacity: 0.5;
  filter: saturate(0.85) drop-shadow(0 16px 26px rgba(92,45,15,0.3));
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.wcc-side:hover { opacity: 0.85; transform: scale(0.97); filter: saturate(1) drop-shadow(0 18px 30px rgba(92,45,15,0.38)); }
.wcc-side img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Teléfono real (tu foto de referencia): la imagen del iPhone va debajo,
   y la tarjeta se monta encima solo en el hueco de la pantalla — el título
   "Wallet" y los íconos de arriba ya vienen dibujados en tu foto. */
.wcc-phone { position: relative; width: 215px; flex-shrink: 0; animation: lp-float 7s ease-in-out infinite; }
.wcc-phone-frame { display: block; width: 100%; height: auto; pointer-events: none; }
.wcc-phone-screen {
  position: absolute;
  left: 7%; right: 6.5%; top: 20%; bottom: 7%;
  display: flex; align-items: flex-start; justify-content: center;
}
.wcc-center-img {
  width: 100%; display: block;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.28));
  transition: opacity 0.2s ease;
}

.wcc-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; }
.wcc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wcc-dot.is-active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 900px) {
  .wcc-side { display: none; }
  .wcc-carousel { gap: 14px; }
}
@media (max-width: 480px) {
  .wcc-arrow { width: 38px; height: 38px; font-size: 18px; }
  .wcc-phone { width: 150px; }
  .wcc-carousel { gap: 10px; }
}
@media (max-width: 360px) {
  .wcc-phone { width: 128px; }
}

.lp-types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .lp-types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-types-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.lp-type-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 12px; font-size: 13.5px; font-weight: 600; color: var(--text-dim); text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lp-type-card span { font-size: 26px; }
.lp-type-card:hover {
  transform: translateY(-4px); border-color: var(--accent-2); color: var(--text);
  box-shadow: 0 14px 26px -16px rgba(0,0,0,0.3);
}

/* ---------- Franja de estadísticas animadas ---------- */
.lp-stats-card { padding: 28px; }
.lp-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-stat {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: #fdf1e6;
  border-radius: 999px;
  padding: 14px 26px;
}
.lp-stat-number {
  font-family: 'Pixelta', -apple-system, sans-serif; font-size: 34px; font-weight: 600; color: var(--accent);
  line-height: 1; flex-shrink: 0;
}
.lp-stat-label { font-size: 12.5px; color: var(--text-dim); line-height: 1.35; margin: 0; }
@media (max-width: 700px) {
  .lp-stats-grid { grid-template-columns: 1fr; gap: 14px; }
  .lp-stat { padding: 16px 24px; }
  .lp-stat-number { font-size: 30px; }
}

/* ---------- Precios: 3 planes ---------- */

.lp-pricing-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--panel-2); border-radius: 999px;
  margin: 8px auto 34px;
}
.lp-pricing-toggle-btn {
  border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--text-dim);
  padding: 8px 18px; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.lp-pricing-toggle-btn.is-active { background: var(--accent); color: #fff; }

.lp-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch; text-align: left; max-width: 1000px; margin: 0 auto;
}
@media (max-width: 860px) {
  .lp-pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

.lp-plan-card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 22px;
  padding: 30px 26px 26px;
  box-shadow: 0 18px 40px -26px rgba(92,45,15,0.35);
}
.lp-plan-featured {
  border-color: var(--accent);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 22px 48px -22px rgba(204,85,0,0.4);
}
@media (min-width: 861px) { .lp-plan-featured { transform: translateY(-8px); } }

.lp-plan-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}

.lp-plan-tier {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent);
}
.lp-plan-price { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; }
.lp-plan-price-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; }
.lp-plan-price-period { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.lp-plan-equiv { font-size: 12px; color: var(--text-dim); margin-top: 2px; min-height: 16px; }
.lp-plan-sub { font-size: 13px; color: var(--text-dim); margin: 10px 0 0; line-height: 1.4; min-height: 36px; }

.lp-plan-card-features { list-style: none; margin: 18px 0 22px; padding: 0; flex: 1; }
.lp-plan-card-features li {
  font-size: 13.5px; color: var(--text-dim); padding: 8px 0;
  border-top: 1px solid var(--border); line-height: 1.4;
}
.lp-plan-card-features li:first-child { border-top: none; }
.lp-plan-card-features li strong { color: var(--text); }

.lp-plan-cta { display: block; text-align: center; }


.lp-faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; }
.lp-faq-item summary { font-weight: 700; font-size: 14.5px; cursor: pointer; list-style: none; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::before { content: "+ "; color: var(--accent-2); }
.lp-faq-item[open] summary::before { content: "− "; }
.lp-faq-item p { font-size: 13.5px; color: var(--text-dim); margin: 12px 0 0; line-height: 1.55; }

.lp-final-cta {
  text-align: center; padding: 56px 40px; max-width: 720px; margin: 0 auto;
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: 28px;
  box-shadow: 0 30px 70px -40px rgba(0,0,0,0.25);
}
.lp-final-cta h2 { font-size: 26px; }
.lp-final-cta p { color: var(--text-dim); font-size: 14.5px; margin: 12px 0 26px; }
@media (max-width: 700px) { .lp-final-cta { padding: 36px 22px; border-radius: 20px; } }

.lp-footer {
  border-top: 1px solid var(--border); padding: 28px 24px 40px; text-align: center;
}
.lp-footer img { margin: 0 auto 10px; }
.lp-footer p { font-size: 12px; color: var(--text-dim); margin: 0; }

/* ---------- Sección destacada: notificaciones (próximamente) ---------- */

.lp-spotlight {
  max-width: 1080px; margin: 0 auto; padding: 30px 24px 70px;
}
.lp-spotlight-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
@media (max-width: 860px) {
  .lp-spotlight-inner { grid-template-columns: 1fr; }
  .lp-spotlight-visual { order: -1; }
}

.lp-spotlight-badge {
  display: inline-block;
  background: var(--accent-2); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.lp-spotlight-copy h2 { font-size: 28px; line-height: 1.2; }
.lp-spotlight-copy p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin: 14px 0 26px; max-width: 460px; }

.lp-spotlight-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.lp-spotlight-list li { display: flex; gap: 12px; align-items: flex-start; }
.lp-spotlight-list li > div { min-width: 0; flex: 1; }
.lp-spotlight-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; line-height: 1; text-align: center; flex-shrink: 0;
}
.lp-spotlight-list strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.lp-spotlight-list span { display: block; font-size: 13px; color: var(--text-dim); }

/* ---------- Mockup de iPhone real (pantalla de bloqueo iOS) ---------- */

.iphone-frame {
  position: relative;
  width: 290px; height: 592px;
  margin: 0 auto;
  background: linear-gradient(135deg, #8a9a95 0%, #566661 22%, #79897f 45%, #3c4744 65%, #6d7d76 85%, #4a5652 100%);
  border-radius: 58px;
  padding: 15px;
  box-shadow:
    0 30px 70px -20px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.35),
    inset 0 0 0 3px rgba(0,0,0,0.25),
    inset 0 2px 2px rgba(255,255,255,0.4),
    inset 0 -2px 3px rgba(0,0,0,0.5);
}

.iphone-btn {
  position: absolute;
  background: linear-gradient(90deg, #2a322f, #1a1e1c);
  box-shadow: inset 0 0 1px rgba(255,255,255,0.25);
}
.iphone-btn-action { left: -3px; top: 118px; width: 3px; height: 26px; border-radius: 3px 0 0 3px; }
.iphone-btn-vol-up { left: -3px; top: 168px; width: 3px; height: 44px; border-radius: 3px 0 0 3px; }
.iphone-btn-vol-down { left: -3px; top: 222px; width: 3px; height: 44px; border-radius: 3px 0 0 3px; }
.iphone-btn-power { right: -3px; top: 178px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; }

.iphone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.5);
  background:
    radial-gradient(115% 55% at 8% 0%,   rgba(68,130,163,0.55), transparent 62%),
    radial-gradient(100% 55% at 100% 12%, rgba(204,85,0,0.5), transparent 60%),
    radial-gradient(95% 70% at 25% 88%,  rgba(232,164,103,0.35), transparent 65%),
    radial-gradient(120% 80% at 92% 100%, rgba(92,45,15,0.45), transparent 60%),
    linear-gradient(160deg, #241d1a, #100d0b 75%);
}
.iphone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, transparent 18%, transparent 82%, rgba(255,255,255,0.06) 100%);
}

.dynamic-island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; background: #000; border-radius: 20px; z-index: 6;
}

.lock-time-wrap { text-align: center; margin-top: 48px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.25); }
.lock-date { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--ios-font); }
.lock-time {
  font-family: var(--ios-font);
  font-size: 62px; font-weight: 600; line-height: 1; margin-top: 2px; letter-spacing: -0.02em;
}

.ios-notif-stack { position: relative; margin: 22px 14px 0; display: flex; flex-direction: column; gap: 11px; }

.ios-notif {
  position: relative; z-index: 2;
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 18px;
  padding: 11px 13px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,0.35);
  font-family: var(--ios-font);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.lp-spotlight-inner.lp-visible .ios-notif { opacity: 1; transform: none; }
.lp-spotlight-inner.lp-visible .ios-notif:nth-child(1) { transition-delay: .1s; }
.lp-spotlight-inner.lp-visible .ios-notif:nth-child(2) { transition-delay: .28s; }
.lp-spotlight-inner.lp-visible .ios-notif:nth-child(3) { transition-delay: .46s; }

.ios-notif-icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.ios-notif-content { min-width: 0; flex: 1; }
.ios-notif-title-row { display: flex; align-items: baseline; gap: 8px; }
.ios-notif-title {
  font-size: 14px; font-weight: 700; color: #111; letter-spacing: -0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ios-notif-time { font-size: 11px; color: rgba(0,0,0,0.42); margin-left: auto; flex-shrink: 0; }
.ios-notif-body { font-size: 12.5px; color: rgba(0,0,0,0.78); margin-top: 1px; line-height: 1.32; }

.lock-bottom-icons {
  position: absolute; left: 20px; right: 20px; bottom: 34px;
  display: flex; justify-content: space-between;
}
.lock-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.22); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

.home-indicator {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 4.5px; border-radius: 3px; background: rgba(255,255,255,0.85);
}

/* ---------- Demo interactivo: diseña tu tarjeta ---------- */

.lp-loopix-type {
  font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.lp-demo-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .lp-demo-grid { grid-template-columns: 1fr; }
}

.demo-cta { display: block; text-align: center; margin-top: 6px; }

.lp-demo-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; position: sticky; top: 90px; }
@media (max-width: 860px) { .lp-demo-visual { position: static; } }

.lp-demo-controls { display: flex; flex-direction: column; gap: 16px; }
.lp-demo-controls .field-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.lp-demo-controls .field-group input[type="text"] {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--ink); color: var(--text); font-size: 14px;
  font-family: inherit;
}
.lp-demo-controls .hint { font-size: 12px; color: var(--text-dim); margin: 10px 0 0; line-height: 1.4; }

.demo-phone-frame { animation: lp-float 7s ease-in-out infinite; }
.demo-phone-screen {
  background: linear-gradient(180deg, #F4F1EA 0%, #EDEAE0 100%) !important;
  display: flex; flex-direction: column;
}

/* Foto real del iPhone para el demo interactivo — la tarjeta se monta
   encima solo en el hueco de la pantalla, "Wallet" ya viene en la foto. */
.demo-phone-photo { position: relative; width: 260px; margin: 0 auto; animation: lp-float 7s ease-in-out infinite; }
.demo-phone-photo-frame { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 24px 34px rgba(0,0,0,0.3)); }
.demo-phone-photo-screen {
  position: absolute;
  left: 7%; right: 6.5%; top: 20%; bottom: 7%;
  overflow: hidden;
  background: linear-gradient(180deg, #F4F1EA 0%, #EDEAE0 100%);
  display: flex; flex-direction: column;
}
.demo-phone-photo-screen .demo-wallet-pad { padding: 14px 12px 12px; flex: 1; }
.demo-wallet-title { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 14px; letter-spacing: -0.01em; }
@media (max-width: 480px) {
  .demo-phone-photo { width: 190px; }
}

#demoWalletCard { transition: background .3s ease; }
#demoWcStripe { transition: background .3s ease; }
#demoWcTop, #demoWcBottom { transition: background .3s ease; background: #FBF3D9; }

/* Tarjeta del demo interactivo: más chica para que quepa completa en la pantalla del celular,
   y el logo puede expandirse a todo el ancho de la tarjeta (banner) en vez de un ícono chico. */
#demoWalletCard .wc-top { padding: 12px 12px 8px; }
#demoWalletCard .wc-top-row { display: block; }
#demoWalletCard .wc-logo-lg {
  display: block; width: 100%; height: auto; max-height: 46px;
  border-radius: 8px; object-fit: contain; background: none; margin: 0 auto;
}
#demoWalletCard .wc-logo-fallback {
  width: 30px; height: 30px; border-radius: 8px; font-size: 13px;
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
}
#demoWalletCard .reward-line {
  font-size: 9.5px; margin-top: 6px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#demoWalletCard .wc-stripe { padding: 10px 10px; gap: 8px; }
#demoWalletCard .wc-stamp img { width: 60%; height: 60%; }
#demoWalletCard .wc-bottom { padding: 8px 12px 10px; }
#demoWalletCard .wc-bottom-row { font-size: 8.5px; }
#demoWalletCard .visits-num { font-size: 14px; }
#demoWalletCard .wc-qr { width: 42px; height: 42px; margin: 8px auto 4px; }
#demoWalletCard .wc-tagline { font-size: 8px; margin-top: 3px; }

/* ---------- Foto real del celular + notis flotando alrededor ---------- */

.notif-phone-wrap {
  position: relative;
  max-width: 400px; margin: 0 auto;
  padding: 34px 90px;
}
.notif-phone-img {
  position: relative; z-index: 2;
  width: 100%; display: block;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,0.35));
  animation: lp-float 6.5s ease-in-out infinite;
}

.notif-floating {
  position: absolute; z-index: 5;
  width: 148px;
  opacity: 0;
  transition: opacity .55s ease, transform .55s ease;
}
.lp-spotlight-inner.lp-visible .notif-floating {
  opacity: 1;
}
.notif-floating .ios-notif {
  opacity: 1; transform: none; /* ya no depende del stack para su fade */
  box-shadow: 0 16px 30px -14px rgba(0,0,0,0.4);
  animation: lp-card-float 6s ease-in-out infinite;
}
.notif-floating-tl {
  top: 48%; left: -46px;
  transform: rotate(-4deg);
}
.notif-floating-tl .ios-notif { animation-delay: .2s; }
.lp-spotlight-inner.lp-visible .notif-floating-tl { transition-delay: .15s; }

.notif-floating-br {
  top: 66%; right: -50px;
  transform: rotate(3deg);
}
.notif-floating-br .ios-notif { animation-delay: 1.1s; }
.lp-spotlight-inner.lp-visible .notif-floating-br { transition-delay: .4s; }

@media (max-width: 700px) {
  .notif-phone-wrap { padding: 0 54px; max-width: 300px; }
  .notif-floating { width: 112px; }
  .notif-floating-tl { left: -14px; top: 30%; }
  .notif-floating-br { right: -16px; top: 68%; }
  .notif-floating .ios-notif { padding: 8px 9px; gap: 7px; }
  .notif-floating .ios-notif-icon { width: 22px; height: 22px; border-radius: 7px; font-size: 12px; }
  .notif-floating .ios-notif-title { font-size: 11px; }
  .notif-floating .ios-notif-time { font-size: 9px; }
  .notif-floating .ios-notif-body { font-size: 10px; line-height: 1.25; }
}

.lp-spotlight-tag {
  text-align: center; font-size: 12px; color: var(--text-dim);
  margin-top: 18px; opacity: 0.8;
}

/* ---------- Notificaciones push / geolocalización ---------- */
.lp-notif-band { background: #f3ead9; padding-bottom: 0; }
.lp-notif-inner {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  text-align: center;
}
.lp-notif-eyebrow {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-style: italic; font-weight: 400; font-size: 15px;
  color: var(--text); margin-bottom: 2px;
}
.lp-notif-title {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-weight: 700; font-size: 32px; line-height: 1.08;
  color: #16161a; margin: 4px 0 14px;
}
.lp-notif-bell { font-size: 0.8em; }
.lp-notif-sub {
  font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif;
  font-size: 16px; line-height: 1.35; color: #16161a;
  margin: 0 0 12px;
}
.lp-notif-body {
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-style: italic; font-size: 12px; line-height: 1.5;
  color: var(--text-dim); max-width: 380px; margin: 0 auto 26px;
}
@media (max-width: 860px) {
  .lp-notif-band .lp-spotlight-visual { order: 0; }
}
@media (min-width: 861px) {
  .lp-notif-inner { grid-template-columns: 1fr 1fr; text-align: left; align-items: center; gap: 40px; }
  .lp-notif-title { font-size: 42px; }
  .lp-notif-sub { font-size: 19px; }
  .lp-notif-body { margin: 0; max-width: 420px; }
}
.lp-notif-strip {
  position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw; width: 100vw;
  background: #c64a19; color: #f2e9c9;
  text-align: center; font-family: 'Helios Extended', -apple-system, sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 10px 16px; margin-top: 36px;
}
.lp-notif-demo-wrap {
  position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw; width: 100vw;
  background: #fff;
  text-align: center; padding: 22px 16px;
}
.lp-notif-demo-btn {
  display: inline-block;
  background: #9ed6de; color: #16323a;
  font-family: 'Helios Extended', -apple-system, sans-serif;
  font-weight: 700; font-size: 14px;
  padding: 12px 26px; border-radius: 999px; text-decoration: none;
}

.lp-nav-active { color: var(--accent) !important; }

.tdt-hero { padding-top: 140px; padding-bottom: 20px; }

.tdt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 760px) {
  .tdt-grid { grid-template-columns: 1fr; }
}

.tdt-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.tdt-card-soon { opacity: 0.88; }

.tdt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tdt-icon { font-size: 30px; line-height: 1; }

.tdt-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tdt-badge-live { background: rgba(68,130,163,0.15); color: var(--accent-2); }
.tdt-badge-soon { background: rgba(0,0,0,0.08); color: var(--text-dim); }

.tdt-card h3 { font-size: 19px; margin: 0 0 4px; }
.tdt-sub { font-size: 13px; color: var(--accent); font-weight: 600; margin: 0 0 10px; }
.tdt-card > p { font-size: 14px; color: var(--text-dim); line-height: 1.5; margin: 0 0 14px; }

.tdt-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.tdt-list li {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 9px 0;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}
.tdt-list li:first-child { border-top: none; }

.tdt-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 13.5px;
  color: var(--text-dim);
  background: var(--panel-2);
  border-radius: 12px;
  padding: 14px 18px;
}
.tdt-note a { color: var(--accent); font-weight: 700; }

.tdt-cta { display: block; max-width: 320px; margin: 0 auto; text-align: center; }

/* Mockups de las tarjetas de membresía y regalo (aún no programadas —
   esto es solo para visualizar cómo se verían en el Wallet del cliente) */
.tdt-mock { display: flex; justify-content: center; margin: 4px 0 16px; }
.tdt-mock-card { width: 220px; }

.tdt-mock-middle {
  padding: 22px 16px;
  text-align: center;
}

.tdt-mock-membership .wc-top,
.tdt-mock-membership .wc-bottom { background: #F6E9EF; color: #2A2A2A; }
.tdt-mock-membership .tdt-mock-middle { background: #6B4A8A; color: #fff; }

.tdt-mock-giftcard .wc-top,
.tdt-mock-giftcard .wc-bottom { background: #FBF3D9; color: #2A2A2A; }
.tdt-mock-giftcard .tdt-mock-middle { background: #D9A62E; color: #2A2A2A; }

.tdt-mock-loyalty .wc-top,
.tdt-mock-loyalty .wc-bottom { background: var(--panel-2); color: var(--text); }
.tdt-mock-loyalty .wc-stripe { background: var(--panel); }
.tdt-mock-loyalty .wc-stamp {
  background: var(--ink);
  border: 2px dashed var(--border);
  font-size: 15px;
}
.tdt-mock-loyalty .wc-stamp.filled {
  background: var(--accent);
  border-style: solid;
  border-color: var(--accent);
}

.tdt-mock-cashback .wc-top,
.tdt-mock-cashback .wc-bottom { background: var(--panel-2); color: var(--text); }
.tdt-mock-cashback .tdt-mock-middle { background: var(--accent-2); color: #fff; }

.tdt-status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
}
.tdt-status-active { color: #fff; }

.tdt-mock-detail { font-size: 12px; margin-top: 8px; opacity: 0.9; }
.tdt-mock-benefit { font-weight: 600; }

.tdt-mock-mini-status { font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif; font-size: 15px; font-weight: 700; }

.tdt-mock-balance {
  font-family: 'Pixelta', 'Fredoka', -apple-system, sans-serif;
  font-size: 30px;
  font-weight: 700;
}


body:not(.lp-body) {
  --ink: #FFFFFF;
  --panel-2: #FFF3E8;
  --border: rgba(204,85,0,0.16);
}
