/* ===========================================================
   PointPro — Landing redesign
   Sistema: claro · azul eléctrico + verde "pago aprobado"
   Type: Geist (geométrica) + Geist Mono (técnico)
   =========================================================== */

:root {
  /* Brand */
  --blue-700: oklch(0.48 0.20 264);
  --blue-600: oklch(0.55 0.22 264);
  --blue-500: oklch(0.62 0.21 264);
  --blue-400: oklch(0.72 0.16 264);
  --blue-100: oklch(0.93 0.05 264);
  --blue-50:  oklch(0.97 0.022 264);

  --green-600: oklch(0.62 0.15 152);
  --green-500: oklch(0.70 0.165 152);
  --green-400: oklch(0.80 0.14 152);
  --green-100: oklch(0.93 0.07 152);
  --green-50:  oklch(0.97 0.03 152);

  /* Neutrals (cool) */
  --ink:      oklch(0.20 0.018 264);
  --ink-2:    oklch(0.34 0.016 264);
  --ink-soft: oklch(0.50 0.012 264);
  --ink-mute: oklch(0.62 0.01 264);

  --bg:      oklch(0.995 0.003 264);
  --bg-alt:  oklch(0.975 0.006 264);
  --bg-soft: oklch(0.96 0.008 264);
  --card:    oklch(1 0 0);
  --line:    oklch(0.91 0.006 264);
  --line-2:  oklch(0.86 0.008 264);

  /* Effects */
  --shadow-sm: 0 1px 2px oklch(0.4 0.04 264 / 0.06), 0 1px 1px oklch(0.4 0.04 264 / 0.04);
  --shadow-md: 0 4px 14px oklch(0.4 0.06 264 / 0.07), 0 1px 3px oklch(0.4 0.06 264 / 0.05);
  --shadow-lg: 0 18px 50px oklch(0.35 0.08 264 / 0.13), 0 4px 14px oklch(0.4 0.06 264 / 0.07);
  --shadow-blue: 0 14px 40px oklch(0.55 0.22 264 / 0.30);
  --shadow-phone: 0 40px 90px oklch(0.3 0.08 264 / 0.26), 0 12px 30px oklch(0.3 0.08 264 / 0.16);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);

  --font: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--blue-100); color: var(--blue-700); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); }

/* ---------- Typography ---------- */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.04; font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 20px 0 16px; }
.section-head p { color: var(--ink-soft); font-size: 18px; max-width: 540px; margin: 0 auto; text-wrap: pretty; }

.grad-text {
  background: linear-gradient(105deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 540; font-size: 15px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 18px 46px oklch(0.55 0.22 264 / 0.38); }
.btn-primary:active { transform: translateY(0); }
.btn-primary .arrow { transition: transform 0.3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink-mute); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px oklch(0.2 0.05 264 / 0.25); }
.btn-blue-soft { background: oklch(1 0 0 / 0.14); color: #fff; border: 1px solid oklch(1 0 0 / 0.28); backdrop-filter: blur(4px); }
.btn-blue-soft:hover { background: oklch(1 0 0 / 0.22); transform: translateY(-2px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.995 0.003 264 / 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  display: grid; place-items: center; box-shadow: var(--shadow-blue);
}
.brand-mark svg { width: 18px; height: 18px; color: #fff; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2); font-weight: 460;
  padding: 8px 14px; border-radius: 9px; transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 10px; transition: background 0.2s; }
.nav-login:hover { background: var(--bg-soft); }
.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 132px 0 80px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-bg .glow-a {
  position: absolute; top: -120px; right: -80px; width: 620px; height: 620px;
  background: radial-gradient(circle, oklch(0.62 0.21 264 / 0.16), transparent 62%);
  filter: blur(10px);
}
.hero-bg .glow-b {
  position: absolute; top: 180px; left: -140px; width: 520px; height: 520px;
  background: radial-gradient(circle, oklch(0.70 0.165 152 / 0.12), transparent 64%);
}
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(oklch(0.55 0.05 264 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.55 0.05 264 / 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 78%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px); font-weight: 600; margin: 22px 0 22px;
  letter-spacing: -0.04em;
}
.hero h1 .smart { white-space: nowrap; }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 500px; text-wrap: pretty; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; margin: 32px 0 22px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-trust .item { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); }
.hero-trust .item svg { width: 16px; height: 16px; color: var(--green-600); }

/* Hero visual / phone stage */
.hero-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }

/* =========================================================
   PHONE
   ========================================================= */
.phone-aura {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-100), transparent 64%);
  z-index: 0; transition: background 0.6s;
}
.phone-aura.approved { background: radial-gradient(circle, var(--green-100), transparent 64%); }

.phone {
  position: relative; z-index: 2;
  width: 300px; height: 612px;
  background: linear-gradient(160deg, oklch(0.28 0.02 264), oklch(0.16 0.015 264));
  border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-phone);
}
.phone::after { /* side buttons */
  content: ""; position: absolute; right: -2px; top: 150px; width: 3px; height: 64px;
  background: oklch(0.24 0.02 264); border-radius: 3px;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  background: var(--bg); border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 26px; background: oklch(0.14 0.015 264); border-radius: 14px; z-index: 20;
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 6px; font-size: 12px; font-weight: 600; color: var(--ink);
}
.phone-status .right { display: flex; gap: 5px; align-items: center; }

/* App top bar */
.app-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 18px 12px;
}
.app-top .who { display: flex; align-items: center; gap: 8px; }
.app-top .who .av { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(145deg, var(--blue-500), var(--blue-700)); display: grid; place-items: center; }
.app-top .who .av svg { width: 14px; height: 14px; color: #fff; }
.app-top .who b { font-size: 13px; }
.app-top .who span { display: block; font-size: 10px; color: var(--ink-mute); font-family: var(--mono); }
.app-top .live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-family: var(--mono); color: var(--green-600); background: var(--green-50); padding: 4px 8px; border-radius: 999px; }
.app-top .live .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); animation: pulse 1.4s infinite; }

.app-body { flex: 1; padding: 4px 18px 18px; display: flex; flex-direction: column; min-height: 0; }

/* Order screen */
.order-label { font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-mute); margin-bottom: 10px; }
.order-items { display: flex; flex-direction: column; gap: 2px; }
.order-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.order-row .l { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.order-row .q { width: 22px; height: 22px; border-radius: 7px; background: var(--bg-soft); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--ink); }
.order-row .p { font-weight: 560; font-variant-numeric: tabular-nums; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 16px; }
.order-total .tl { font-size: 13px; color: var(--ink-soft); }
.order-total .tv { font-size: 30px; font-weight: 680; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.pay-btn {
  margin-top: 16px; width: 100%; height: 56px; border-radius: 16px;
  background: var(--blue-600); color: #fff; font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: var(--shadow-blue); position: relative; overflow: hidden;
  transition: transform 0.18s var(--ease-2);
}
.pay-btn.pressed { transform: scale(0.96); }
.pay-btn svg { width: 19px; height: 19px; }

/* Overlay states (tap / processing / approved / invoice / ticket) */
.app-stage { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.scr.active { opacity: 1; transform: none; pointer-events: auto; }

/* NFC tap */
.tap-scr { align-items: center; justify-content: center; text-align: center; gap: 4px; }
.nfc-ring { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin-bottom: 12px; }
.nfc-ring .ring { position: absolute; inset: 0; border: 2px solid var(--blue-400); border-radius: 50%; opacity: 0; }
.nfc-ring .ring.r1 { animation: nfc 1.8s infinite; }
.nfc-ring .ring.r2 { animation: nfc 1.8s infinite 0.6s; }
.nfc-ring .ring.r3 { animation: nfc 1.8s infinite 1.2s; }
.nfc-core { width: 64px; height: 64px; border-radius: 20px; background: var(--blue-50); display: grid; place-items: center; }
.nfc-core svg { width: 30px; height: 30px; color: var(--blue-600); }
.tap-scr h4 { font-size: 18px; font-weight: 600; }
.tap-scr p { font-size: 13px; color: var(--ink-soft); }
.amount-chip { font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--bg-soft); padding: 6px 12px; border-radius: 999px; margin-top: 10px; }

/* Processing */
.proc-scr { align-items: center; justify-content: center; gap: 16px; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--blue-100); border-top-color: var(--blue-600); animation: spin 0.8s linear infinite; }
.proc-scr p { font-size: 14px; color: var(--ink-soft); }

/* Approved */
.appr-scr { align-items: center; justify-content: center; gap: 6px; text-align: center; }
.check-badge { width: 96px; height: 96px; border-radius: 50%; background: var(--green-500); display: grid; place-items: center; box-shadow: 0 16px 40px oklch(0.70 0.165 152 / 0.5); margin-bottom: 10px; }
.check-badge svg { width: 48px; height: 48px; color: #fff; }
.appr-scr h4 { font-size: 22px; font-weight: 680; }
.appr-scr .amt { font-size: 15px; color: var(--green-600); font-weight: 600; font-variant-numeric: tabular-nums; }
.appr-scr .method { font-size: 12px; color: var(--ink-mute); font-family: var(--mono); margin-top: 4px; }
.check-svg-path { stroke-dasharray: 48; stroke-dashoffset: 48; }
.scr.active .check-svg-path { animation: draw 0.5s var(--ease) 0.15s forwards; }

/* Invoice / receipt */
.inv-scr { justify-content: center; gap: 12px; }
.inv-head { display: flex; align-items: center; gap: 10px; }
.inv-head .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; }
.inv-head .ic svg { width: 20px; height: 20px; color: var(--blue-600); }
.inv-head b { font-size: 15px; display: block; }
.inv-head span { font-size: 11px; color: var(--ink-mute); font-family: var(--mono); }
.receipt {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  position: relative; box-shadow: var(--shadow-sm);
}
.receipt .rrow { display: flex; justify-content: space-between; padding: 4px 0; }
.receipt .rrow b { color: var(--ink); }
.receipt .sep { border-top: 1px dashed var(--line-2); margin: 8px 0; }
.receipt .cae { background: var(--green-50); color: var(--green-600); padding: 6px 9px; border-radius: 8px; text-align: center; font-weight: 600; letter-spacing: 0.02em; margin-top: 6px; }
.qr-mini { width: 46px; height: 46px; border-radius: 8px; }

/* Print/ticket bar at bottom of invoice */
.print-bar { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-soft); justify-content: center; margin-top: 4px; }
.print-bar svg { width: 15px; height: 15px; color: var(--blue-600); }
.print-bar .pr-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); margin: 0 1px; animation: pulse 1s infinite; }

/* Floating chips around phone */
.chip {
  position: absolute; z-index: 3;
  background: oklch(1 0 0 / 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 14px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(10px) scale(0.94);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.chip.show { opacity: 1; transform: none; }
.chip .ci { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.chip .ci.green { background: var(--green-50); } .chip .ci.green svg { color: var(--green-600); }
.chip .ci.blue { background: var(--blue-50); } .chip .ci.blue svg { color: var(--blue-600); }
.chip .ci svg { width: 16px; height: 16px; }
.chip b { font-size: 12.5px; font-weight: 580; display: block; }
.chip span { font-size: 10.5px; color: var(--ink-mute); font-family: var(--mono); }
.chip-cae { top: 70px; left: -36px; }
.chip-fact { top: 250px; right: -54px; }
.chip-ticket { bottom: 96px; left: -50px; }

.phone-float { animation: floaty 6s ease-in-out infinite; }

/* =========================================================
   TRUST / LOGO BAR
   ========================================================= */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; flex-wrap: wrap; }
.trust-logo { display: flex; align-items: center; gap: 9px; font-weight: 540; font-size: 15px; color: var(--ink-2); }
.trust-logo span { color: var(--ink-mute); font-weight: 440; }
.trust-logo svg { width: 18px; height: 18px; color: var(--ink-soft); }

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.fcard .ficon { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-50); display: grid; place-items: center; margin-bottom: 18px; transition: transform 0.3s var(--ease); }
.fcard:hover .ficon { transform: scale(1.08) rotate(-4deg); }
.fcard .ficon svg { width: 23px; height: 23px; color: var(--blue-600); }
.fcard.accent .ficon { background: var(--green-50); } .fcard.accent .ficon svg { color: var(--green-600); }
.fcard h3 { font-size: 18px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.02em; }
.fcard p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: left; }
.step-num {
  width: 64px; height: 64px; border-radius: 20px; margin-bottom: 22px;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-700)); color: #fff;
  display: grid; place-items: center; font-size: 26px; font-weight: 680;
  box-shadow: var(--shadow-blue);
}
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card .sicon { color: var(--blue-600); margin-bottom: 14px; }
.step-card .sicon svg { width: 22px; height: 22px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* =========================================================
   DIFFERENTIALS
   ========================================================= */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
.dcard {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.dcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.dcard .di { width: 44px; height: 44px; border-radius: 13px; background: var(--green-50); display: grid; place-items: center; flex-shrink: 0; }
.dcard .di svg { width: 22px; height: 22px; color: var(--green-600); }
.dcard h3 { font-size: 17px; margin-bottom: 7px; }
.dcard p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

.modes { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.modes .ml { font-size: 14px; color: var(--ink-soft); }
.mode-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s; }
.mode-pill:hover { transform: translateY(-2px); border-color: var(--blue-400); }
.mode-pill svg { width: 15px; height: 15px; color: var(--blue-600); }

/* =========================================================
   PRICING
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 1.5px solid var(--blue-500); box-shadow: var(--shadow-lg); }
.plan.featured::before {
  content: "RECOMENDADO"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: #fff; background: var(--blue-600); padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow-blue);
}
.plan-name { font-size: 16px; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 2px; }
.plan-price .amt { font-size: 33px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price .iva { font-size: 12px; color: var(--ink-mute); font-family: var(--mono); }
.plan-unit { font-size: 12px; color: var(--ink-mute); font-family: var(--mono); margin-bottom: 20px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.plan-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.plan-feats li svg { width: 16px; height: 16px; color: var(--green-600); flex-shrink: 0; margin-top: 1px; }
.plan-feats li.bold { font-weight: 600; color: var(--ink); }
.plan .btn { width: 100%; }
.plan-foot { text-align: center; margin-top: 36px; font-size: 14.5px; color: var(--ink-soft); }
.plan-foot a { color: var(--blue-600); font-weight: 540; }
.plan-foot a:hover { text-decoration: underline; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item.open { border-color: var(--blue-200, var(--blue-100)); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; text-align: left; font-size: 16px; font-weight: 540; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; flex-shrink: 0; transition: background 0.25s, transform 0.3s var(--ease); color: var(--ink-2); }
.faq-item.open .faq-q .pm { background: var(--blue-600); color: #fff; transform: rotate(135deg); }
.faq-q .pm svg { width: 15px; height: 15px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; text-wrap: pretty; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { padding: 110px 0; }
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700) 70%);
  border-radius: var(--r-xl); padding: 72px 40px; text-align: center;
  box-shadow: var(--shadow-blue);
}
.cta-box .deco { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-box .deco-1 { width: 360px; height: 360px; right: -100px; bottom: -160px; background: radial-gradient(circle, oklch(1 0 0 / 0.16), transparent 65%); }
.cta-box .deco-2 { width: 280px; height: 280px; left: -80px; top: -120px; background: radial-gradient(circle, oklch(0.70 0.165 152 / 0.4), transparent 65%); }
.cta-box .deco-grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(oklch(1 0 0 / 0.07) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
}
.cta-box-inner { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(30px, 4.2vw, 48px); color: #fff; margin-bottom: 18px; }
.cta-box p { font-size: 18px; color: oklch(1 0 0 / 0.85); max-width: 540px; margin: 0 auto 34px; text-wrap: pretty; }
.cta-box .hero-cta { justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: oklch(0.8 0.01 264); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid oklch(1 0 0 / 0.08); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about { font-size: 14px; color: oklch(0.68 0.01 264); max-width: 280px; line-height: 1.6; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-family: var(--mono); color: oklch(0.72 0.01 264); background: oklch(1 0 0 / 0.05); border: 1px solid oklch(1 0 0 / 0.1); padding: 8px 12px; border-radius: 999px; margin-top: 20px; }
.footer-badge svg { width: 14px; height: 14px; color: var(--green-400); }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: oklch(0.7 0.01 264); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: oklch(0.6 0.01 264); flex-wrap: wrap; gap: 12px; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }
.reveal.d4 { transition-delay: 0.28s; }
.reveal.d5 { transition-delay: 0.35s; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
@keyframes nfc { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 100%; }
  .hero-stage { min-height: 560px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 76px 0; }
  .hero { padding: 110px 0 60px; }
  .cards-grid, .steps, .diff-grid, .plans { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .chip-cae { left: 4px; } .chip-fact { right: 4px; } .chip-ticket { left: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn, .cta-box .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .phone-float { animation: none; }
}

/* =========================================================
   V2 ADDITIONS — Point Smart skin · multi-device · admin panel
   ========================================================= */
:root {
  --ps-y-hi: oklch(0.90 0.15 96);
  --ps-y:    oklch(0.83 0.165 92);
  --ps-y-dp: oklch(0.74 0.15 86);
  --ps-ink:  oklch(0.30 0.05 85);
}

/* Reskin the hero device into the yellow Point Smart */
.phone {
  background: linear-gradient(165deg, var(--ps-y-hi), var(--ps-y) 46%, var(--ps-y-dp));
  display: flex; flex-direction: column; padding: 12px;
  box-shadow: 0 40px 90px oklch(0.6 0.13 88 / 0.34), 0 12px 30px oklch(0.55 0.12 86 / 0.2);
}
.phone::after { background: oklch(0.66 0.13 84); }
.phone-notch { display: none; }
.ps-printer {
  height: 15px; margin: 1px 14px 8px; border-radius: 0 0 11px 11px;
  background: linear-gradient(180deg, oklch(0.80 0.15 88), oklch(0.71 0.14 85));
  position: relative; box-shadow: inset 0 -2px 3px oklch(0.5 0.1 82 / 0.5);
}
.ps-printer::after {
  content: ""; position: absolute; left: 20%; right: 20%; top: 6px; height: 3px;
  border-radius: 3px; background: oklch(0.42 0.06 82 / 0.55);
}
.ps-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 7px 8px; }
.ps-brand .pm { font-size: 14px; letter-spacing: -0.02em; color: var(--ps-ink); font-weight: 600; }
.ps-brand .pm b { font-weight: 800; }
.ps-brand .cam { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.38 0.03 85); }
.phone-screen { flex: 1; border-radius: 30px; }

/* Multi-device band */
.md-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.md-devicewrap { display: grid; place-items: center; }
.md-h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; margin: 18px 0 14px; }
.md-lead { color: var(--ink-soft); font-size: 17px; max-width: 480px; text-wrap: pretty; }
.md-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin: 24px 0; }
.md-list li { display: flex; gap: 14px; }
.md-list .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--blue-50); display: grid; place-items: center; flex-shrink: 0; }
.md-list .ic svg { width: 22px; height: 22px; color: var(--blue-600); }
.md-list h4 { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.md-list p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; text-wrap: pretty; }
.dchips { display: flex; gap: 10px; flex-wrap: wrap; }
.dchip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 15px; box-shadow: var(--shadow-sm); }
.dchip svg { width: 17px; height: 17px; color: var(--blue-600); }

/* Graphite tablet (no es solo el Point Smart) */
.tabletp { position: relative; width: 300px; max-width: 80vw; background: linear-gradient(160deg, oklch(0.34 0.02 264), oklch(0.18 0.015 264)); border-radius: 30px; padding: 13px; box-shadow: var(--shadow-phone); }
.tabletp-cam { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: oklch(0.1 0.01 264); }
.tabletp .phone-screen { height: 486px; border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); }

/* Laptop + admin dashboard */
.laptop { max-width: 770px; margin: 8px auto 0; }
.laptop-lid { background: linear-gradient(160deg, oklch(0.26 0.02 264), oklch(0.15 0.015 264)); border-radius: 18px 18px 5px 5px; padding: 12px 12px 14px; position: relative; box-shadow: var(--shadow-lg); }
.laptop-lid::before { content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: oklch(0.36 0.02 264); }
.laptop-screen { background: var(--bg); border-radius: 7px; overflow: hidden; margin-top: 8px; }
.laptop-base { height: 15px; max-width: 770px; margin: 0 auto; background: linear-gradient(180deg, oklch(0.88 0.008 264), oklch(0.76 0.01 264)); border-radius: 0 0 13px 13px; position: relative; box-shadow: inset 0 2px 2px oklch(1 0 0 / 0.5); }
.laptop-base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 6px; border-radius: 0 0 8px 8px; background: oklch(0.68 0.01 264); }
.chrome { display: flex; align-items: center; gap: 9px; background: var(--bg-soft); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.chrome .dots { display: flex; gap: 5px; }
.chrome .dots i { width: 9px; height: 9px; border-radius: 50%; }
.chrome .dots i:nth-child(1) { background: #ff5f57; }
.chrome .dots i:nth-child(2) { background: #febc2e; }
.chrome .dots i:nth-child(3) { background: #28c840; }
.chrome .url { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 8px; font-family: var(--mono); font-size: 11px; color: var(--ink-soft); padding: 5px 11px; display: flex; align-items: center; gap: 6px; }
.chrome .url svg { width: 12px; height: 12px; color: var(--green-600); }
.adm { display: flex; height: clamp(310px, 46vw, 404px); }
.adm-side { width: 54px; flex-shrink: 0; background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 6px; }
.adm-side .blogo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, var(--blue-500), var(--blue-700)); display: grid; place-items: center; margin-bottom: 6px; }
.adm-side .blogo svg { width: 16px; height: 16px; color: #fff; }
.adm-ico { width: 40px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-mute); }
.adm-ico svg { width: 18px; height: 18px; }
.adm-ico.on { background: var(--blue-50); color: var(--blue-600); }
.adm-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.adm-top { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.adm-top .t { font-size: 14px; font-weight: 600; }
.adm-top .t span { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; color: var(--ink-mute); }
.adm-live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 10px; color: var(--green-600); background: var(--green-50); padding: 4px 9px; border-radius: 999px; }
.adm-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); animation: pulse 1.4s infinite; }
.adm-body { flex: 1; padding: 14px; overflow: hidden; background: var(--bg); }
.adm-kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; }
.kpi.primary { background: linear-gradient(140deg, var(--blue-600), var(--blue-700)); border: 0; color: #fff; }
.kpi .kl { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.82; }
.kpi .kv { font-size: 19px; font-weight: 680; letter-spacing: -0.02em; margin-top: 3px; font-variant-numeric: tabular-nums; }
.kpi .ks { font-size: 10px; color: var(--ink-mute); margin-top: 1px; }
.kpi.primary .ks { color: oklch(1 0 0 / 0.8); }
.adm-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.adm-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px; }
.adm-ch { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.adm-ch .bdg { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); background: var(--bg-soft); padding: 2px 7px; border-radius: 999px; }
.adm-bars { display: flex; align-items: flex-end; gap: 6px; height: 62px; }
.adm-bars span { flex: 1; background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); border-radius: 4px 4px 0 0; opacity: 0.9; }
.adm-row { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.adm-row:last-child { border: 0; }
.adm-row .rk { width: 16px; height: 16px; border-radius: 5px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; font-size: 9px; font-weight: 600; font-family: var(--mono); flex-shrink: 0; }
.adm-row .nm { flex: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row .rv { font-weight: 600; font-variant-numeric: tabular-nums; }
.afeat { margin-top: 48px; }

@media (max-width: 960px) {
  .md-band { grid-template-columns: 1fr; gap: 32px; }
  .md-devicewrap { order: -1; }
}
@media (max-width: 600px) {
  .adm-kpis { grid-template-columns: 1fr 1fr; }
  .adm-2 { grid-template-columns: 1fr; }
  .adm-side { width: 46px; }
  .adm { height: auto; }
}

/* ---- mobile polish + anti-overflow ---- */
html { overflow-x: clip; }
body { overflow-x: clip; }

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .hero { padding: 88px 0 36px; }
  .hero-copy { text-align: center; }
  .hero h1 { margin: 14px 0 16px; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-stage { min-height: 0; margin-top: 4px; }
  .phone { width: min(286px, 84vw); }
  .nav-login { display: none; }
  .nav-inner { height: 58px; }
  .md-band { gap: 22px; }
  .md-copy { text-align: center; }
  .md-lead { margin-inline: auto; }
  .md-list { text-align: left; }
  .md-list li { max-width: 420px; margin-inline: auto; }
  .dchips { justify-content: center; }
  .tabletp { width: min(286px, 84vw); }
  .afeat { margin-top: 28px; }
  .plan { padding: 22px 20px; }
}

/* ---- WhatsApp "Hablar con ventas" button ---- */
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.32); }
.btn-wa:hover { background: #1fb457; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42); }
.btn-wa:active { transform: translateY(0); }
.btn-wa svg { width: 18px; height: 18px; }
.cta-phone { margin-top: 16px; font-family: var(--mono); font-size: 14px; color: oklch(1 0 0 / 0.82); }
.cta-phone b { color: #fff; }

/* ---- mobile: centrar todo el contenido de las tarjetas ---- */
@media (max-width: 700px) {
  /* feature & panel cards */
  .fcard { text-align: center; }
  .fcard .ficon { margin-left: auto; margin-right: auto; }

  /* how-it-works steps */
  .step { text-align: center; }
  .step-num { margin-left: auto; margin-right: auto; }
  .step-card .sicon { display: flex; justify-content: center; }

  /* differentials: icono arriba, texto centrado */
  .dcard { flex-direction: column; align-items: center; text-align: center; gap: 12px; }

  /* pricing cards */
  .plan { text-align: center; align-items: center; }
  .plan-price { justify-content: center; }
  .plan-feats { width: 100%; }
  .plan-feats li { justify-content: center; }

  /* trust bar centrada */
  .trustbar-inner { justify-content: center; gap: 14px 22px; }

  /* multi-device: lista centrada como bloque, ítems alineados */
  .md-list li { align-items: center; }
}

/* ---- mobile: pasos compactos en fila (número izq + texto der) ---- */
@media (max-width: 600px) {
  .steps { gap: 12px; }
  .step { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
  .step-num { width: 46px; height: 46px; border-radius: 13px; font-size: 19px; margin: 0; flex-shrink: 0; }
  .step-card { flex: 1; padding: 16px 18px; }
  .step-card .sicon { display: none; }
  .step-card h3 { margin-bottom: 4px; }
}

/* ---- steps note + floating WhatsApp ---- */
.steps-note { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--ink-soft); max-width: 560px; margin-left: auto; margin-right: auto; text-wrap: pretty; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; opacity: 0.5; z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55); }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .steps-note { margin-top: 22px; font-size: 13.5px; }
}

/* "Todo lo del Pack X, y además" — encadenado acumulativo de planes */
.plan-inherit {
  display: flex; align-items: center; gap: 7px; text-align: left;
  font-size: 12.5px; font-weight: 600; color: var(--blue-700);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: 10px; padding: 8px 11px; margin-bottom: 14px;
}
.plan-inherit svg { width: 15px; height: 15px; color: var(--blue-600); flex-shrink: 0; }
.plan-inherit b { font-weight: 700; }
