/* =========================
   THEME TOKENS
   ========================= */

html[data-theme="dark"]{
  --bg: #080814;
  --surface: rgba(255,255,255,.06);
  --surface-2: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.12);
  --text: #f6f6ff;
  --muted: rgba(246,246,255,.72);

  /* Paleta 1 (indigo → magenta → purple) */
  --g1: #4f46e5;
  --g2: #db2777;
  --g3: #7c3aed;
  --accent: #a855f7;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

html[data-theme="light"]{
  /* Modo claro premium */
  --bg: #fbfbff;
  --surface: rgba(17,24,39,.04);
  --surface-2: rgba(17,24,39,.03);
  --border: rgba(17,24,39,.10);
  --text: #0b1020;
  --muted: rgba(11,16,32,.70);

  /* Paleta 3 (amber → fuchsia → purple) suavizada */
  --g1: #f59e0b;
  --g2: #ec4899;
  --g3: #8b5cf6;
  --accent: #7c3aed;

  --shadow: 0 18px 50px rgba(17,24,39,.12);
}

*{ box-sizing:border-box; }
body{
  color: var(--text);
  background:
    radial-gradient(900px 600px at 30% -10%, color-mix(in srgb, var(--g1) 25%, transparent), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, color-mix(in srgb, var(--g2) 22%, transparent), transparent 60%),
    radial-gradient(900px 600px at 60% 90%, color-mix(in srgb, var(--g3) 18%, transparent), transparent 60%),
    var(--bg);
  transition: background 220ms ease, color 220ms ease;
}

/* =========================
   NAV
   ========================= */

.nav{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}

.brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--g1) 90%, #fff 10%),
                           color-mix(in srgb, var(--g2) 85%, #fff 15%));
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.brand__name{
  font-weight: 800;
  letter-spacing: .3px;
}

.nav__links{
  display:none;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav__links a{
  padding: 6px 8px;
  border-radius: 10px;
}

.nav__links a:hover{
  background: var(--surface-2);
  color: var(--text);
}

.nav__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* show nav links on larger screens */
@media (min-width: 860px){
  .nav__links{ display:flex; }
}

/* =========================
   BUTTONS
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 800;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover{ transform: translateY(-1px); }

.btn--primary{
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--g3) 85%, #fff 15%),
                           color-mix(in srgb, var(--g2) 80%, #fff 20%));
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  color: white;
}

html[data-theme="light"] .btn--primary{
  color: #0b1020;
}

.btn--ghost{
  background: var(--surface);
}

.btn--full{ width: 100%; }

.themeBtn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform 140ms ease, background 140ms ease;
}
.themeBtn:hover{ transform: translateY(-1px); }
.themeBtn__icon{ font-size: 16px; }

/* =========================
   HERO
   ========================= */

.hero{
  padding: 58px 18px 22px;
}

.hero__inner{
  max-width: 1120px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items:center;
}

@media (min-width: 980px){
  .hero__inner{ grid-template-columns: 1.15fr .85fr; }
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 14px;
}

.pill__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent);
}

.h1{
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}

.sub{
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 70ch;
}

.highlight{
  margin: 0 0 18px;
}

.highlight__mark{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--g2) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--g2) 25%, var(--border));
  color: var(--text);
  font-weight: 800;
}

.ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.metaRow{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px){
  .metaRow{ grid-template-columns: repeat(3, 1fr); }
}

.meta{
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 16px;
  padding: 12px 12px;
}

.meta__k{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.meta__v{
  font-size: 13px;
  font-weight: 800;
}

/* Mock phone */
.hero__mock{ display:flex; justify-content:center; }
.phone{
  width: 320px;
  max-width: 100%;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.phone__top{ height: 14px; background: var(--surface-2); }
.phone__screen{ position: relative; padding: 18px; height: 420px; }
.demoCard{
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  display:grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.demoCard__logo{
  width: 56px; height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--g3) 30%, transparent);
  border: 1px solid var(--border);
}
.demoCard__title{
  width: 70%;
  height: 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 16%, transparent);
}
.demoCard__line{
  width: 92%;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
}
.demoBtn{
  height: 40px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--g1) 35%, transparent),
                           color-mix(in srgb, var(--g2) 30%, transparent));
  border: 1px solid var(--border);
}
.demoGlow{
  position:absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 40% 30%, color-mix(in srgb, var(--g1) 26%, transparent), transparent 55%),
    radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--g2) 22%, transparent), transparent 55%),
    radial-gradient(circle at 50% 80%, color-mix(in srgb, var(--g3) 18%, transparent), transparent 60%);
  filter: blur(20px);
  opacity: .9;
}

/* =========================
   TRUSTED
   ========================= */

.trusted{
  max-width: 1120px;
  margin: 26px auto 0;
  padding: 0 18px;
  text-align:center;
}

.trusted__label{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.trusted__logos{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  justify-content:center;
  color: color-mix(in srgb, var(--text) 80%, var(--muted));
  font-weight: 800;
}

.trusted__logos span{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.trusted__note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* =========================
   SECTIONS / CARDS
   ========================= */

.section{
  padding: 64px 18px;
}

.section__inner{
  max-width: 1120px;
  margin: 0 auto;
}

.h2{
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.section__sub{
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 75ch;
  line-height: 1.6;
}

.grid3{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px){
  .grid3{ grid-template-columns: repeat(3, 1fr); }
}

.card{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transition: transform 140ms ease, border-color 140ms ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.card__h{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.card__p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card--link{ cursor: default; }
.card__cta{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  color: color-mix(in srgb, var(--accent) 85%, var(--text));
}

/* NFC block */
.nfcBlock{
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--g1) 12%, transparent),
      color-mix(in srgb, var(--g2) 10%, transparent)
    );
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.nfcBlock__tag{
  min-width: 140px;
  height: 90px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  display:grid;
  place-items:center;
  position: relative;
}

.nfcChip{
  width: 38px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--g3) 20%, transparent);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--g3) 10%, transparent);
}

.nfcTxt{
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-top: 6px;
}

/* =========================
   PRICING
   ========================= */

.pricing{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 920px){
  .pricing{ grid-template-columns: 1fr 1fr; }
}

.plan{
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.plan--featured{
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--g3) 12%, transparent),
      var(--surface)
    );
}

.plan__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.plan__name{ margin:0; font-size: 18px; font-weight: 900; }
.plan__price{ margin:0; text-align:right; }
.plan__amount{ font-size: 22px; font-weight: 900; }
.plan__cycle{ color: var(--muted); font-size: 12px; }

.plan__list{
  margin: 12px 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.plan__note{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

/* =========================
   FAQ
   ========================= */

.faq{
  display:grid;
  gap: 10px;
  max-width: 820px;
}

.faq__item{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 12px 14px;
}

.faq__item summary{
  cursor:pointer;
  font-weight: 900;
}

.faq__item p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   FOOTER
   ========================= */

.footer{
  padding: 34px 18px 56px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}

.footer__inner{
  max-width: 1120px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:flex-start;
}

.footer__brand{
  margin:0;
  font-weight: 900;
}

.footer__muted{
  margin:0;
  color: var(--muted);
}

.footer__links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  color: var(--muted);
}
.footer__links a:hover{ color: var(--text); }