/* ============ TarjetasNFC — Landing MVP ============ */
:root {
  --bg: #0a0e1a;
  --bg-2: #0f1526;
  --ink: #0b1020;
  --paper: #ffffff;
  --soft: #f6f7fb;
  --line: #e6e8f0;
  --muted: #5b6478;
  --text-dark: #e2e8f0;
  --text-dim: #94a3b8;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-3: #a855f7;
  --green: #25d366;
  --telegram: #229ed9;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(11, 16, 32, .25);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92%); margin-inline: auto; }

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, .65);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(34, 211, 238, .55); }

.btn-ghost {
  color: var(--text-dark);
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 14, 26, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -.01em; }
.brand-icon { width: 26px; height: 26px; color: var(--accent-2); }
.brand-accent { color: var(--accent-2); }

.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { color: var(--text-dim); font-size: .92rem; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover { color: #fff; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
  color: #fff;
  padding: 150px 0 110px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -30% -20% auto;
  height: 130%;
  background:
    radial-gradient(600px 400px at 80% 10%, rgba(168, 85, 247, .28), transparent 65%),
    radial-gradient(700px 450px at 15% 20%, rgba(34, 211, 238, .22), transparent 60%),
    radial-gradient(500px 350px at 50% 100%, rgba(99, 102, 241, .25), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: .4rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, .35);
  background: rgba(34, 211, 238, .08);
  color: var(--accent-2);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 1.4rem;
}

.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.grad {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 1.2rem; font-size: 1.15rem; color: var(--text-dim); max-width: 34ch; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust { margin-top: 2.2rem; display: flex; align-items: center; gap: .6rem; color: var(--text-dim); font-size: .9rem; }
.stars { color: #fbbf24; letter-spacing: .1em; }

/* Visual NFC */
.hero-visual { display: flex; justify-content: center; }
.nfc-rings { position: relative; width: min(320px, 75vw); aspect-ratio: 1; }
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 211, 238, .5);
}
.r1 { animation: pulse 3.2s ease-out infinite; }
.r2 { animation: pulse 3.2s ease-out .8s infinite; }
.r3 { animation: pulse 3.2s ease-out 1.6s infinite; }
.r4 { animation: pulse 3.2s ease-out 2.4s infinite; }
@keyframes pulse {
  0% { transform: scale(.45); opacity: .9; }
  100% { transform: scale(1); opacity: 0; }
}
.nfc-core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(34, 211, 238, .25), rgba(99, 102, 241, .35));
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  box-shadow: 0 0 60px rgba(34, 211, 238, .35), inset 0 0 40px rgba(34, 211, 238, .15);
}
.nfc-core svg { width: 52%; height: 52%; }

@media (max-width: 860px) {
  .hero { padding: 120px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .nfc-rings { width: 220px; }
}

/* ---------- Secciones ---------- */
.section { padding: 92px 0; }
.section-dark {
  background: var(--bg);
  color: #fff;
}
.section-soft { background: var(--soft); }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.02em; font-weight: 800; text-align: center; }
.section-dark .section-title { color: #fff; }
.section-sub { text-align: center; color: var(--muted); margin-top: .5rem; font-size: 1.05rem; }
.section-dark .section-sub { color: var(--text-dim); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Cómo funciona ---------- */
.steps { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { position: relative; padding: 2.2rem 1.6rem 1.8rem; text-align: center; }
.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, .6);
}
.step h3 { margin-top: .6rem; font-size: 1.1rem; }
.step p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

.steps-note {
  margin-top: 2.2rem;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(34, 211, 238, .08));
  border: 1px solid rgba(99, 102, 241, .2);
  border-radius: 999px;
  padding: .8rem 1.4rem;
  width: fit-content;
  margin-inline: auto;
  font-size: .95rem;
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .step { padding: 1.8rem 1.4rem 1.5rem; }
}

/* ---------- Vídeo ---------- */
.video-frame {
  margin-top: 2.8rem;
  max-width: 640px;
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px -30px rgba(34, 211, 238, .3);
  background: #000;
}
.video-frame video { width: 100%; aspect-ratio: 720 / 1280; object-fit: cover; }

.video-tags { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; }
.video-tags li {
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .05);
  color: var(--text-dim);
  font-size: .85rem;
  font-weight: 500;
}

/* ---------- Producto ---------- */
.producto-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.producto-img { position: relative; max-width: 400px; margin-inline: auto; }
.img-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -25px rgba(99, 102, 241, .4);
  background: linear-gradient(160deg, rgba(99, 102, 241, .06), rgba(34, 211, 238, .06));
}
.img-frame img { width: 100%; aspect-ratio: 1283 / 1773; object-fit: cover; }
.badge {
  position: absolute;
  top: -14px;
  right: -10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.producto-copy .section-title { text-align: left; }
.producto-desc { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.ideal-label { margin-top: 1.6rem; font-weight: 700; }
.chips { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; }
.chips li {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: .9rem;
  font-weight: 500;
}
.producto-copy .btn { margin-top: 2rem; }

@media (max-width: 860px) {
  .producto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .producto-img { max-width: 340px; }
}

/* ---------- Usos ---------- */
.usos-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.uso { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.8rem 1rem; text-align: center; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease; }
.uso:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -22px rgba(11, 16, 32, .3); }
.uso svg { width: 34px; height: 34px; color: var(--accent); }
.usos-note { margin-top: 2.4rem; text-align: center; font-weight: 700; font-size: 1.1rem; }

@media (max-width: 860px) {
  .usos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Contacto ---------- */
.contact-inner { max-width: 720px; text-align: center; }
.contact-sub { margin-top: .7rem; color: var(--text-dim); font-size: 1.1rem; }
.contact-btns { margin-top: 2.6rem; display: grid; gap: 1rem; }
.contact-btn { width: 100%; padding: 1.15rem; font-size: 1.1rem; border-radius: 16px; }
.contact-btn svg { width: 26px; height: 26px; }

.wa { background: var(--green); color: #07330f; }
.wa:hover { background: #2ee672; box-shadow: 0 16px 36px -12px rgba(37, 211, 102, .55); }
.tg { background: var(--telegram); color: #fff; }
.tg:hover { background: #2ba9e8; box-shadow: 0 16px 36px -12px rgba(34, 158, 217, .55); }
.mail { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, .2); }
.mail:hover { background: #f1f2f7; box-shadow: 0 16px 36px -12px rgba(255, 255, 255, .35); }

.contact-hint { margin-top: 1.8rem; color: var(--text-dim); font-size: .92rem; }

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

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); color: var(--text-dim); padding: 3rem 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.footer-links a { font-size: .92rem; transition: color .15s ease; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .85rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring { animation: none; opacity: .4; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .uso { transition: none; }
}

/* ---------- Páginas legales ---------- */
.legal { min-height: 100vh; background: var(--paper); }
.legal-hero { background: var(--bg); color: #fff; padding: 130px 0 50px; }
.legal-hero .container { max-width: 760px; }
.legal-body { max-width: 760px; margin-inline: auto; padding: 3rem 0 5rem; }
.legal-body h2 { margin-top: 2rem; font-size: 1.15rem; }
.legal-body p, .legal-body li { color: var(--muted); margin-top: .6rem; font-size: .98rem; }
.legal-body ul { padding-left: 1.4rem; }