/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #0D9488;
  --teal-dark:  #0F766E;
  --teal-light: #F0FDFA;
  --teal-mid:   #CCFBF1;
  --purple:     #7C3AED;
  --purple-light: #F5F3FF;
  --amber:      #F59E0B;
  --red:        #EF4444;
  --charcoal:   #111827;
  --gray-900:   #1F2937;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-300:   #D1D5DB;
  --gray-100:   #F3F4F6;
  --white:      #FFFFFF;
  --bg:         #F8FAFC;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
  --font:       'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

/* ════════════════════════════════════════
   LAYOUT
════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(13,148,136,.3);
}
.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.4);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.25);
}

.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,148,136,.10);
  transition: box-shadow .3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--charcoal);
  flex-shrink: 0;
}

.nav__brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  transition: color .2s;
}
.nav__links a:hover { color: var(--teal); }

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

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0D9488 0%, #0A6E64 55%, #064E4A 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  background: white;
}
.shape--1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.shape--2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }
.shape--3 { width: 200px; height: 200px; top: 40%; right: 30%; opacity: .06; }
.shape--4 { width: 400px; height: 400px; top: -100px; right: -80px; }
.shape--5 { width: 250px; height: 250px; bottom: -60px; left: 10%; }

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6EE7B7;
  box-shadow: 0 0 6px #6EE7B7;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #6EE7B7, #A7F3D0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* Mockup */
.hero__visual { display: flex; justify-content: center; align-items: center; }

.mockup {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  width: 100%;
  max-width: 460px;
}

.mockup__screen { background: #F8FAFC; }

.mockup__topbar {
  background: white;
  padding: 12px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid #F0F0F0;
}
.mockup__topbar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #E5E7EB;
}
.mockup__topbar span:first-child { background: #FCA5A5; }
.mockup__topbar span:nth-child(2) { background: #FDE68A; }
.mockup__topbar span:nth-child(3) { background: #6EE7B7; }

.mockup__content { padding: 18px; }

.mock-dash {}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.mock-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-100);
  margin-bottom: 5px;
}
.mock-line--sm { width: 70px; }
.mock-line--lg { width: 120px; }
.mock-line--bold { background: var(--gray-300); height: 10px; }

.mock-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.mock-kpi {
  padding: 12px;
  border-radius: 12px;
  font-size: 11px;
}
.mock-kpi--teal { background: var(--teal-light); border-left: 3px solid var(--teal); }
.mock-kpi--purple { background: var(--purple-light); border-left: 3px solid var(--purple); }
.mock-kpi--amber { background: #FFF7ED; border-left: 3px solid var(--amber); }
.mock-kpi--green { background: #F0FDF4; border-left: 3px solid #22C55E; }

.mock-kpi__label { color: var(--gray-500); margin-bottom: 3px; }
.mock-kpi__val { font-weight: 800; font-size: 14px; color: var(--charcoal); }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
}
.mock-bar {
  flex: 1;
  background: rgba(13,148,136,.18);
  border-radius: 4px 4px 0 0;
  transition: height .3s;
}
.mock-bar--today { background: var(--teal); }

/* ════════════════════════════════════════
   SECTION HEADER
════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   NEGOCIOS
════════════════════════════════════════ */
.negocios {
  padding: 100px 0;
  background: white;
}

.negocios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.negocio-card {
  background: var(--bg);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all .25s ease;
}

.negocio-card:hover, .negocio-card--active {
  background: white;
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(13,148,136,.12);
  transform: translateY(-4px);
}

.negocio-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.negocio-card__icon--food   { background: #FFF7ED; color: #F59E0B; }
.negocio-card__icon--beauty { background: #FDF2F8; color: #EC4899; }
.negocio-card__icon--store  { background: var(--teal-light); color: var(--teal); }

.negocio-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.negocio-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 18px;
}

.negocio-card__features {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.negocio-card__features li {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.negocio-card__features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   FUNCIONES
════════════════════════════════════════ */
.funciones {
  padding: 100px 0;
  background: var(--bg);
}

.funciones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.funcion-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-100);
  transition: all .25s;
}

.funcion-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

.funcion-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.funcion-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.funcion-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   PLANES
════════════════════════════════════════ */
.planes {
  padding: 100px 0;
  background: white;
}

.planes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all .25s;
}

.plan-card--featured {
  background: white;
  border-color: var(--purple);
  box-shadow: 0 12px 40px rgba(124,58,237,.15);
}

.plan-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-card__header { margin-bottom: 24px; }

.plan-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.plan-card__badge--std  { background: var(--teal-light);  color: var(--teal); }
.plan-card__badge--pro  { background: var(--purple-light); color: var(--purple); }

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.plan-card__amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -1px;
}
.plan-card__period { font-size: 15px; color: var(--gray-500); font-weight: 500; }

.plan-card__desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.plan-card__features li.included { color: var(--gray-700); }
.plan-card__features li.not-included { color: var(--gray-300); }

.planes__note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--gray-500);
}
.planes__note a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.planes-compare {
  margin: 56px auto 0;
  max-width: 1060px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--gray-100);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.planes-compare__header {
  margin-bottom: 22px;
}

.planes-compare__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.planes-compare__header h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -.6px;
  margin-bottom: 8px;
}

.planes-compare__header p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 760px;
}

.planes-compare__table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--gray-100);
  background: white;
}

.planes-compare__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.planes-compare__table thead th {
  background: #F8FAFC;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-100);
}

.planes-compare__table tbody td {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.planes-compare__table tbody tr:last-child td {
  border-bottom: 0;
}

.planes-compare__table tbody td:not(:first-child) {
  font-weight: 700;
}

.planes-compare__table tbody tr td:nth-child(2) {
  color: var(--purple);
}

.planes-compare__table tbody tr td:nth-child(4) {
  color: var(--teal);
}

/* ════════════════════════════════════════
   TRIAL CTA
════════════════════════════════════════ */
.trial-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0D9488 0%, #0A6E64 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.trial-cta__bg { position: absolute; inset: 0; pointer-events: none; }

.trial-cta__content { position: relative; }

.trial-cta__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.2);
}

.trial-cta__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.trial-cta__desc {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.trial-cta__stores {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  transition: all .2s;
  border-radius: 8px;
  overflow: hidden;
}
.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.store-badge svg {
  display: block;
}

/* Mantener compatibilidad con clase antigua por si acaso */
.store-btn { display: none; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.6);
  padding: 60px 0 32px;
}

.footer__top {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer__brand {
  flex: 1;
  min-width: 240px;
}

.footer__brand .nav__brand {
  color: white;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer__links {
  display: flex;
  gap: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h5 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--teal); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .funciones__grid { grid-template-columns: repeat(2, 1fr); }
  .negocios__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; }
  .hero__visual  { display: none; }
  .hero__trust   { justify-content: center; }
  .hero__actions { justify-content: center; }

  .nav__links    { display: none; }

  .negocios__grid  { grid-template-columns: 1fr; }
  .funciones__grid { grid-template-columns: 1fr; }
  .planes__grid    { grid-template-columns: 1fr; }
  .planes-compare  { padding: 20px; }
  .planes-compare__header h3 { font-size: 24px; }

  .footer__links { flex-direction: column; gap: 24px; }
  .footer__top   { flex-direction: column; }
}
