@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&display=swap');

:root {
  --accent: #9B5CFF;
  --accent-deep: #7B3CE6;
  --accent-soft: #F1EAFE;
  --accent-line: rgba(155, 92, 255, .28);
  --ink: #1B1726;
  --ink-2: #6E6880;
  --ink-3: #A7A1B5;
  --bg: #FFFFFF;
  --bg-soft: #F5F4F8;
  --card: #FFFFFF;
  --line: rgba(27, 23, 38, .08);
  --stamp-empty: #E9E6F0;
  --maxw: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  border-radius: 14px;
  padding: 13px 22px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 22px rgba(123, 60, 230, .32);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(123, 60, 230, .42); }

.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: #ECEAF2; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.4px;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 8px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-platforms {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.nav-platforms svg { width: 17px; height: 17px; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  margin: 0;
  font-size: 60px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -2px;
  text-wrap: balance;
}
h1 .hl { color: var(--accent-deep); }

.hero-sub {
  margin: 22px 0 30px;
  font-size: 19px;
  color: var(--ink-2);
  font-weight: 500;
  max-width: 480px;
  text-wrap: pretty;
}
.store-row {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}
.hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 92, 255, .32), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}
.hero-visual .phone { position: relative; z-index: 2; }
.hero-visual .phone.back {
  position: absolute;
  z-index: 1;
  transform: translate(86px, 46px) rotate(7deg) scale(.9);
  opacity: .96;
}

/* ── Store badge ── */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 11px 18px 11px 16px;
  transition: transform .15s ease, background .2s;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.store-badge svg.logo { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-badge .sb-small { font-size: 11px; font-weight: 500; opacity: .85; }
.store-badge .sb-big { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }

/* ── Phone mock ── */
.phone {
  width: 300px;
  height: 610px;
  border-radius: 46px;
  background: #0E0B16;
  padding: 11px;
  box-shadow: 0 40px 80px -20px rgba(27, 23, 38, .42), 0 0 0 1px rgba(27, 23, 38, .06);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg-soft);
}
.notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #0E0B16;
  border-radius: 999px;
  z-index: 30;
}
.scr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 46px 16px 16px;
  overflow: hidden;
}
.scr-head { padding: 6px 4px 12px; }
.scr-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
}
.scr-brand img { width: 20px; height: 20px; border-radius: 5px; }
.scr-brand span { font-weight: 800; font-size: 13px; letter-spacing: -.2px; }
.scr-title { font-size: 25px; font-weight: 800; letter-spacing: -.7px; margin: 0; }
.scr-subtitle { font-size: 12px; color: var(--ink-2); font-weight: 500; margin-top: 2px; }

/* ── Loyalty card tile ── */
.lcard {
  background: #fff;
  border-radius: 18px;
  padding: 13px;
  margin-bottom: 11px;
  box-shadow: 0 1px 2px rgba(27, 23, 38, .05), 0 6px 16px rgba(27, 23, 38, .05);
}
.lcard-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.lcard-top > div:nth-child(2) { flex: 1; min-width: 0; }
.lcard-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lcard-ic svg { width: 21px; height: 21px; }
.lcard-name {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lcard-cat {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lcard-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
.stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--stamp-empty);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stamp.full {
  border: none;
  background: radial-gradient(120% 120% at 30% 25%, #B083FF, var(--accent) 48%, var(--accent-deep));
  box-shadow: 0 2px 5px rgba(123, 60, 230, .28);
}
.stamp.full svg { width: 54%; height: 54%; color: #fff; }
.lcard-foot { margin-top: 11px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.lcard-foot b { color: var(--ink); }

/* ── Sections ── */
section { position: relative; }
.sec-pad { padding: 90px 0; }
.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.sec-tag {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.08;
  text-wrap: balance;
}
.sec-sub { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); font-weight: 500; text-wrap: pretty; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(27, 23, 38, .08); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-num svg { width: 23px; height: 23px; }
.step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.4px; }
.step p { margin: 0; font-size: 15.5px; color: var(--ink-2); font-weight: 500; }

/* Features alternating */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feat + .feat { margin-top: 96px; }
.feat.flip .feat-text { order: 2; }
.feat.flip .feat-visual { order: 1; }
.feat-visual { display: flex; justify-content: center; position: relative; }
.feat-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 92, 255, .18), transparent 65%);
  z-index: 0;
}
.feat-text .sec-tag { margin-bottom: 12px; }
.feat-text h2 { font-size: 36px; }
.feat-text p {
  font-size: 17.5px;
  color: var(--ink-2);
  font-weight: 500;
  margin: 16px 0 0;
  max-width: 440px;
  text-wrap: pretty;
}
.feat-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.feat-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; }
.feat-list .ck {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-list .ck svg { width: 15px; height: 15px; }

/* Live pass highlight (dark) */
.passband {
  background: linear-gradient(165deg, #241B38, #15101F);
  color: #fff;
  border-radius: 36px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.passband .sec-tag { color: #C9A8FF; }
.passband h2 { font-size: 36px; }
.passband p { font-size: 17.5px; color: rgba(255, 255, 255, .72); font-weight: 500; margin: 16px 0 0; max-width: 430px; }
.pass-card {
  position: relative;
  background: linear-gradient(165deg, #A968FF, #7B3CE6);
  border-radius: 28px;
  padding: 34px 28px;
  color: #fff;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 30px 60px -15px rgba(123, 60, 230, .6);
}
.pass-disc {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pass-disc svg { width: 52px; height: 52px; color: #fff; }
.pass-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; opacity: .85; }
.pass-name { font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin-top: 5px; }
.pass-comm { font-size: 14px; font-weight: 600; opacity: .9; }
.pass-pills { display: flex; gap: 9px; justify-content: center; margin-top: 18px; }
.pass-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.pass-pill .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7BF5B0;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* Merchant section */
.merchant { background: var(--bg-soft); }
.merchant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.merchant-card {
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(27, 23, 38, .06);
}
.mc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mc-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.mc-ic img { width: 54px; height: 54px; }
.mc-title { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.mc-sub { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.plan-row:last-child { border-bottom: none; }
.plan-name { font-weight: 700; font-size: 15.5px; }
.plan-meta { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.plan-price { font-weight: 800; font-size: 17px; letter-spacing: -.3px; }
.plan-price small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.tag-best {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

/* Download CTA */
.dl {
  background: linear-gradient(165deg, #A968FF 0%, #9B5CFF 45%, #7B3CE6 100%);
  color: #fff;
  border-radius: 36px;
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dl h2 { font-size: 46px; letter-spacing: -1.4px; }
.dl p { font-size: 19px; color: rgba(255, 255, 255, .85); font-weight: 500; margin: 16px auto 30px; max-width: 440px; }
.dl .store-row { justify-content: center; }
.dl .store-badge { background: #fff; color: var(--ink); }
.dl .store-badge:hover { background: #fff; }
.dl .store-badge .sb-small { opacity: .6; }
.dl-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
}

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 280px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 14px; color: var(--ink-2); font-weight: 500; margin: 0; }
.foot-cols { display: flex; gap: 64px; margin-left: auto; flex-wrap: wrap; }
.foot-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink-3);
}
.foot-col a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
  transition: color .15s;
}
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.foot-platforms { display: flex; align-items: center; gap: 14px; }
.foot-platforms span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); }
.foot-platforms svg { width: 16px; height: 16px; }

/* NFC target (escanear mock) */
.nfc-target {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nfc-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.nfc-ring.r1 { animation: nfcPulse 1.8s ease-out infinite; }
.nfc-ring.r2 { animation: nfcPulse 1.8s .6s ease-out infinite; }
@keyframes nfcPulse {
  0% { transform: scale(.6); opacity: 0; }
  30% { opacity: .5; }
  100% { transform: scale(1.05); opacity: 0; }
}
.nfc-halo {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.nfc-core {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(150deg, #fff, #F3EEFE);
  box-shadow: 0 12px 30px rgba(123, 60, 230, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.nfc-core svg { width: 40px; height: 40px; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  h1 { font-size: 46px; letter-spacing: -1.4px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 520px; margin-top: 10px; }
  .hero-sub { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .feat, .merchant-grid, .passband { grid-template-columns: 1fr; gap: 34px; }
  .feat.flip .feat-text { order: 1; }
  .feat.flip .feat-visual { order: 2; }
  .feat + .feat { margin-top: 64px; }
  .passband { padding: 48px 32px; }
  h2, .feat-text h2, .passband h2 { font-size: 32px; }
  .nav-links { display: none; }
  .foot-cols { gap: 40px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  h1 { font-size: 38px; }
  .sec-pad { padding: 64px 0; }
  .dl { padding: 52px 24px; }
  .dl h2 { font-size: 34px; }
  .store-row { flex-direction: column; }
  .store-badge { width: 100%; justify-content: center; }
  .nav-platforms { display: none; }
}
