/* =========================================================
   Owi — owi.one landing
   Brand: Moderno y confiable (Indigo + Teal)
   ========================================================= */

:root {
  /* Brand */
  --indigo:      #2D3FE0;
  --indigo-700:  #2433C9;
  --indigo-50:   #EEF0FE;
  --teal:        #14B8A6;
  --teal-50:     #E6FAF6;

  /* Ink / surfaces */
  --slate-900:   #0F172A;
  --slate-700:   #334155;
  --slate-500:   #64748B;
  --slate-300:   #CBD5E1;
  --bg:          #FFFFFF;
  --bg-soft:     #F6F8FC;
  --border:      #E6EAF2;

  --gradient:    linear-gradient(135deg, #2D3FE0 0%, #14B8A6 100%);
  --gradient-soft: linear-gradient(135deg, #EEF0FE 0%, #E6FAF6 100%);

  --radius:      18px;
  --radius-sm:   12px;
  --shadow-sm:   0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md:   0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg:   0 30px 60px -20px rgba(45,63,224,.28);

  --maxw:        1140px;
  --font-head:   "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:   "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin: 0;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(45,63,224,.6);
}
.btn-primary:hover { background: var(--indigo-700); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: #fff;
  color: var(--slate-900);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--slate-300); transform: translateY(-1px); }
.btn-white { background:#fff; color: var(--indigo); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Logo lockup ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .badge {
  width: 30px; height: 30px; border-radius: 9px;
  box-shadow: 0 4px 10px -4px rgba(45,63,224,.5);
}
.logo .word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--slate-900);
}
.logo .word b { color: var(--indigo); font-weight: 800; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--slate-700); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--indigo); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login { color: var(--slate-700); font-weight: 600; font-size: 15px; }
.nav-cta .login:hover { color: var(--indigo); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(20,184,166,.10), transparent 60%),
    radial-gradient(55% 60% at 5% 10%, rgba(45,63,224,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--indigo-50); color: var(--indigo-700);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  border: 1px solid #DDE1FB;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(36px, 5vw, 56px); }
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { font-size: 19px; color: var(--slate-500); margin-top: 22px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { margin-top: 20px; font-size: 14px; color: var(--slate-500); display: flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--teal); }

/* ---------- POS mockup (hero) ---------- */
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-top {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-soft);
}
.mock-top .dots { display: flex; gap: 6px; }
.mock-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); }
.mock-top .title { font-size: 13px; color: var(--slate-500); font-weight: 600; margin-left: 6px; }
.mock-top .pill { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--teal); background: var(--teal-50); padding: 4px 10px; border-radius: 999px; }
.mock-body { display: grid; grid-template-columns: 1.4fr 1fr; }
.mock-products { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #fff; }
.prod {
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 10px; background: #fff;
  transition: transform .2s, border-color .2s;
}
.prod:hover { transform: translateY(-2px); border-color: var(--indigo); }
.prod .ph { height: 38px; border-radius: 8px; background: var(--gradient-soft); margin-bottom: 9px; }
.prod .name { font-size: 12px; font-weight: 600; color: var(--slate-700); }
.prod .price { font-size: 12px; font-weight: 800; color: var(--indigo); font-family: var(--font-head); }
.mock-cart { background: var(--bg-soft); border-left: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; }
.mock-cart h4 { font-family: var(--font-head); font-size: 13px; color: var(--slate-500); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em; }
.line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.line span:first-child { color: var(--slate-700); }
.line span:last-child { font-weight: 700; color: var(--slate-900); }
.totals { margin-top: auto; padding-top: 12px; }
.totals .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-500); padding: 3px 0; }
.totals .grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.totals .grand .lbl { font-size: 13px; color: var(--slate-700); font-weight: 600; }
.totals .grand .amt { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--slate-900); }
.cobrar {
  margin-top: 12px; text-align: center; background: var(--gradient); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 12px; border-radius: 12px;
}

/* ---------- Trust strip ---------- */
.trust { padding: 30px 0 8px; }
.trust p { text-align: center; color: var(--slate-500); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.trust .row { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 18px; opacity: .9; }
.trust .brand { font-family: var(--font-head); font-weight: 800; color: var(--slate-300); font-size: 20px; letter-spacing: -.02em; }
.trust .brand.live { color: var(--slate-700); }

/* ---------- Generic section heading ---------- */
.sec { padding: 90px 0; }
.sec-head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.sec-head .kicker { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 12px; }
.sec-head p { color: var(--slate-500); font-size: 18px; margin-top: 16px; }

/* ---------- Features ---------- */
.bg-soft { background: var(--bg-soft); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--indigo-50); color: var(--indigo); margin-bottom: 18px;
}
.feature h3 { font-size: 19px; }
.feature p { color: var(--slate-500); font-size: 15px; margin-top: 8px; }

/* ---------- Offline band ---------- */
.offline {
  background: var(--slate-900); color: #fff; border-radius: 28px; overflow: hidden; position: relative;
}
.offline::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 100% 0%, rgba(20,184,166,.22), transparent 60%),
              radial-gradient(50% 80% at 0% 100%, rgba(45,63,224,.30), transparent 60%);
}
.offline-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; }
.offline .kicker { color: var(--teal); font-family: var(--font-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.offline h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.offline p { color: #C7CFE0; font-size: 17px; margin-top: 16px; }
.offline ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.offline li { display: flex; align-items: flex-start; gap: 10px; color: #E2E8F0; font-size: 15px; }
.offline li svg { color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.offline-visual { display: flex; justify-content: center; }
.signal {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 28px; width: 100%; max-width: 320px; backdrop-filter: blur(6px);
}
.signal .badge-off { display: inline-flex; align-items: center; gap: 8px; background: rgba(20,184,166,.15); color: var(--teal); font-weight: 700; font-family: var(--font-head); font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.signal .big { font-family: var(--font-head); font-weight: 800; font-size: 40px; margin: 16px 0 4px; }
.signal .muted { color: #94A3B8; font-size: 14px; }
.signal .syncbar { margin-top: 20px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.signal .syncbar i { display: block; height: 100%; width: 100%; background: var(--gradient); }
.signal .synctext { margin-top: 8px; font-size: 12px; color: #94A3B8; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: left; }
.step .num {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--gradient); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 20px; }
.step p { color: var(--slate-500); font-size: 15px; margin-top: 8px; }

/* ---------- Owner / phone section ---------- */
.owner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.owner .kicker { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.owner h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.owner p.lead { color: var(--slate-500); font-size: 18px; margin-top: 16px; }
.owner ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.owner li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--slate-700); }
.owner li svg { color: var(--teal); flex: 0 0 auto; margin-top: 4px; }
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 280px; background: #fff; border-radius: 34px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 14px; position: relative;
}
.phone .notch { width: 110px; height: 6px; border-radius: 999px; background: var(--slate-300); margin: 4px auto 14px; }
.phone .screen { background: var(--bg-soft); border-radius: 22px; padding: 18px; }
.phone .greet { font-size: 13px; color: var(--slate-500); }
.phone .day { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--slate-900); margin-top: 2px; }
.phone .delta { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--teal); background: var(--teal-50); padding: 3px 9px; border-radius: 999px; margin-top: 8px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin: 22px 0 8px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--gradient); opacity: .85; }
.phone .breakeven { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.phone .breakeven .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-500); }
.phone .breakeven .top b { color: var(--slate-900); font-family: var(--font-head); }
.phone .pb { height: 8px; border-radius: 999px; background: var(--indigo-50); margin-top: 8px; overflow: hidden; }
.phone .pb i { display: block; height: 100%; width: 72%; background: var(--gradient); }

/* ---------- Pricing ---------- */
.pricing-card {
  max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-radius: 24px; box-shadow: var(--shadow-md); overflow: hidden;
}
.pricing-card .head { background: var(--gradient); color: #fff; padding: 28px; text-align: center; }
.pricing-card .head .tag { font-family: var(--font-head); font-weight: 700; font-size: 13px; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.pricing-card .head h3 { color: #fff; font-size: 26px; margin-top: 6px; }
.pricing-card .head .price { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-top: 10px; opacity: .95; }
.pricing-card .body { padding: 28px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 13px; }
.pricing-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--slate-700); }
.pricing-card li svg { color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.pricing-card .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--slate-500); font-size: 14px; margin-top: 22px; }

/* ---------- Testimonial ---------- */
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote .stars { color: var(--teal); font-size: 18px; letter-spacing: 3px; }
.quote blockquote {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3; letter-spacing: -.02em; margin: 18px 0 26px; color: var(--slate-900);
}
.quote .who { display: inline-flex; align-items: center; gap: 12px; }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.quote .who .meta { text-align: left; }
.quote .who .meta .n { font-weight: 700; font-size: 15px; }
.quote .who .meta .r { color: var(--slate-500); font-size: 14px; }

/* ---------- Final CTA ---------- */
.cta-band {
  background: var(--gradient); border-radius: 28px; padding: 64px 40px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,.16), transparent 70%); }
.cta-band h2 { position: relative; color: #fff; font-size: clamp(28px, 4vw, 44px); }
.cta-band p { position: relative; color: rgba(255,255,255,.9); font-size: 18px; margin-top: 14px; }
.cta-band .actions { position: relative; display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 36px; border-top: 1px solid var(--border); margin-top: 90px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--slate-500); font-size: 14px; margin-top: 14px; max-width: 280px; }
.foot-col h5 { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-900); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--slate-500); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--indigo); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.foot-bottom .small { color: var(--slate-500); font-size: 13px; }
.foot-bottom .cat { color: var(--slate-500); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .offline-inner, .owner { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .hero .sub { max-width: none; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .offline-inner { padding: 36px; }
  .offline-visual, .phone-wrap { margin-top: 8px; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features, .steps { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-products { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .hero-actions .btn, .cta-band .btn { flex: 1; }
  .nav-cta .login { display: none; }
}

/* ============ Demo modal (2º paso) ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 23, 42, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 28px 16px; overflow-y: auto;
  animation: modal-fade .2s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; background: #fff; border-radius: 22px;
  width: 100%; max-width: 540px; margin: auto;
  box-shadow: var(--shadow-lg); padding: 32px;
  animation: modal-pop .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes modal-pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: var(--bg-soft); border: none; color: var(--slate-500);
  width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1;
  cursor: pointer; transition: background .15s, color .15s;
}
.modal-close:hover { background: #E6EAF2; color: var(--slate-900); }
.modal-head { text-align: center; margin-bottom: 22px; }
.modal-badge { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; box-shadow: 0 6px 16px -6px rgba(45,63,224,.5); }
.modal-head h3 { font-size: 24px; }
.modal-head p { color: var(--slate-500); font-size: 15px; margin-top: 8px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-grid .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.modal-grid .field span { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--slate-700); }
.modal-grid .field input, .modal-grid .field select {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 15px; font-family: var(--font-body); color: var(--slate-900);
  width: 100%; min-width: 0; max-width: 100%; background: #fff;
}
.modal-grid .field input:focus, .modal-grid .field select:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(45,63,224,.15);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-error {
  margin-top: 14px; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA;
  padding: 10px 14px; border-radius: 10px; font-size: 14px;
}
.modal-submit { width: 100%; margin-top: 18px; }
.modal-fineprint { text-align: center; color: var(--slate-500); font-size: 13px; margin-top: 14px; }
.modal-success { text-align: center; padding: 16px 8px 8px; }
.success-check {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--gradient); display: grid; place-items: center;
  animation: modal-pop .3s ease;
}
.modal-success h3 { font-size: 26px; }
.modal-success p { color: var(--slate-500); font-size: 16px; margin: 12px auto 24px; max-width: 380px; }
@media (max-width: 520px) {
  .modal { padding: 24px 20px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-head h3 { font-size: 21px; }
}
