:root {
  --ad-purple: #5b3df0;
  --ad-blue: #2f6bff;
  --ad-gradient: linear-gradient(135deg, var(--ad-purple), var(--ad-blue));
  --ad-ink: #15172b;
  --ad-ink-soft: #4a4d63;
  --ad-muted: #6b6e85;
  --ad-border: #e7e8f2;
  --ad-bg: #ffffff;
  --ad-bg-soft: #f6f7fc;
  --ad-success: #16a34a;
  --ad-shadow: 0 20px 50px -20px rgba(45, 40, 130, 0.25);
  --ad-radius: 16px;
}

* { box-sizing: border-box; }

body.landing {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ad-ink);
  background: var(--ad-bg);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

.landing a { text-decoration: none; color: inherit; }
.landing ul { list-style: none; margin: 0; padding: 0; }
.landing img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ad-purple);
  background: rgba(91, 61, 240, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.gradient-text {
  background: var(--ad-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ad-gradient);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(91, 61, 240, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(91, 61, 240, 0.65); }

.btn-outline {
  background: #fff;
  color: var(--ad-ink);
  border-color: var(--ad-border);
}
.btn-outline:hover { border-color: var(--ad-purple); color: var(--ad-purple); }

.btn-whatsapp {
  background: var(--ad-success);
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(22, 163, 74, 0.6);
}
.btn-whatsapp:hover { background: #128a3e; }

.landing .btn-primary, .landing .btn-whatsapp { color: #fff; }
.landing .btn-outline { color: var(--ad-ink); }
.landing .btn-outline:hover { color: var(--ad-purple); }

.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ad-border);
  box-shadow: 0 4px 20px -12px rgba(20, 20, 50, 0.15);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ad-ink-soft);
}
.nav-links a:hover { color: var(--ad-purple); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ad-ink-soft);
}
.nav-whatsapp .fa-whatsapp {
  color: var(--ad-success);
  font-size: 22px;
}
.nav-whatsapp strong { display: block; color: var(--ad-ink); font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ad-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ad-ink);
  margin: 0 7px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 15% 0%, #eef0ff 0%, #f6f7fc 45%, #ffffff 100%);
  padding: 0 0 90px;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 108%;
  width: auto;
  max-width: none;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  padding-top: 72px;
}
.hero-copy-col { max-width: 540px; }
.hero-title {
  font-size: 56px;
  line-height: 1.04;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ad-ink);
}
.hero-copy {
  font-size: 16.5px;
  color: var(--ad-muted);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--ad-ink-soft);
}
.hero-checks li { display: flex; align-items: center; gap: 7px; }
.hero-checks .fa-circle-check, .hero-checks .fa-check-circle { color: var(--ad-success); }

/* Mockup de laptop en CSS, usado en la seccion de Beneficios */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.device-laptop {
  width: 100%;
  max-width: 460px;
  background: #1c1e2e;
  border-radius: 14px;
  padding: 10px 10px 26px;
  box-shadow: var(--ad-shadow);
}
.device-laptop .screen {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.device-laptop .screen-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: #f0f1f7;
}
.device-laptop .screen-bar span { width: 8px; height: 8px; border-radius: 50%; background: #d7d9e8; }
.device-laptop .screen-body { display: flex; }
.mock-sidebar {
  width: 88px;
  background: #15172b;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-sidebar .mock-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mock-sidebar .mock-dot { width: 14px; height: 14px; border-radius: 4px; background: var(--ad-gradient); }
.mock-sidebar i { color: #8f93b8; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.mock-sidebar i:first-of-type { color: #fff; }
.mock-main { flex: 1; padding: 14px; background: #fafbff; }
.mock-main h5 { margin: 0 0 10px; font-size: 11px; color: var(--ad-ink-soft); }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.mock-stat { background: #fff; border: 1px solid var(--ad-border); border-radius: 6px; padding: 7px 8px; }
.mock-stat span { display: block; font-size: 8px; color: var(--ad-muted); }
.mock-stat strong { font-size: 11px; }
.mock-chart { background: #fff; border: 1px solid var(--ad-border); border-radius: 6px; padding: 10px; display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.mock-chart i { flex: 1; background: var(--ad-gradient); border-radius: 3px 3px 0 0; opacity: 0.85; }

.device-phone {
  position: absolute;
  right: -10px;
  bottom: -18px;
  width: 128px;
  background: #1c1e2e;
  border-radius: 20px;
  padding: 8px;
  box-shadow: var(--ad-shadow);
}
.device-phone .screen { background: #fff; border-radius: 13px; padding: 12px 10px; }
.device-phone .mock-brand { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; margin-bottom: 10px; }
.device-phone .mock-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--ad-gradient); }
.device-phone ul { display: flex; flex-direction: column; gap: 8px; }
.device-phone li { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--ad-ink-soft); }
.device-phone li i { width: 16px; height: 16px; border-radius: 5px; background: var(--ad-bg-soft); display: flex; align-items: center; justify-content: center; font-size: 8px; color: var(--ad-purple); }

/* Section shell */
.section { padding: 88px 0; }
.section-soft { background: var(--ad-bg-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--ad-muted); font-size: 16px; margin: 0; }

/* Module cards */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.module-card {
  position: relative;
  background: var(--card-bg, #fff);
  border: 1px solid transparent;
  border-radius: var(--ad-radius);
  padding: 24px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.module-card:hover { box-shadow: var(--ad-shadow); transform: translateY(-2px); }
.module-card.is-disabled { cursor: default; opacity: 0.9; }
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--card-icon, #fff);
  background: var(--card-icon-bg, var(--ad-gradient));
  margin-bottom: 16px;
}

/* Paleta de tarjetas de modulo, igual al mockup original */
.card-blue   { --card-bg: #e9f1ff; --card-icon: #3b63e0; --card-icon-bg: #d3e2ff; }
.card-green  { --card-bg: #e7f8f0; --card-icon: #1f9d6c; --card-icon-bg: #cdf0dd; }
.card-violet { --card-bg: #efeafe; --card-icon: #6c4cf0; --card-icon-bg: #ddd2fc; }
.card-orange { --card-bg: #fdf0e4; --card-icon: #e4823a; --card-icon-bg: #fbdcbd; }
.card-pink   { --card-bg: #fdeaec; --card-icon: #de4f68; --card-icon-bg: #f9d2d8; }
.card-yellow { --card-bg: #fdf6e1; --card-icon: #cc9a2e; --card-icon-bg: #f8e8b8; }
.card-purple { --card-bg: #f1ecfd; --card-icon: #7c53e8; --card-icon-bg: #ddd0fb; }
.card-coral  { --card-bg: #fdeee5; --card-icon: #e06a3e; --card-icon-bg: #fad9c4; }
.module-card h3 { font-size: 17px; margin: 0 0 6px; }
.module-card p { font-size: 13.5px; color: var(--ad-muted); margin: 0; line-height: 1.5; }
.module-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ad-ink-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.module-caret {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(21, 23, 43, 0.35);
  transition: transform 0.2s ease;
}
.module-card.is-open .module-caret { transform: rotate(90deg); color: var(--ad-purple); }
.module-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.module-card.is-open .module-expand { max-height: 140px; }
.module-expand-inner { padding-top: 14px; }
.module-expand-inner p { font-size: 13px; color: var(--ad-ink-soft); margin: 0 0 10px; }
.module-link { font-size: 13px; font-weight: 700; color: var(--ad-purple); display: inline-flex; align-items: center; gap: 5px; }

/* Benefit strip */
.benefit-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--ad-border);
}
.benefit-strip-item { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; }
.benefit-strip-item i { font-size: 20px; color: var(--strip-icon, var(--ad-purple)); }
.benefit-strip-item strong { display: block; font-size: 14.5px; }
.benefit-strip-item span { font-size: 12.5px; color: var(--ad-muted); }
.strip-blue   { --strip-icon: #3b63e0; }
.strip-green  { --strip-icon: #1f9d6c; }
.strip-violet { --strip-icon: #6c4cf0; }
.strip-orange { --strip-icon: #e4823a; }

/* Demo band */
.demo-band {
  background: var(--ad-ink);
  background-image: var(--ad-gradient);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 auto;
  max-width: 1140px;
}
.demo-band h2 { font-size: 30px; font-weight: 800; margin: 0 0 10px; }
.demo-band p { font-size: 16px; opacity: 0.9; margin: 0 0 26px; }
.demo-band .btn-outline { background: #fff; border-color: #fff; color: var(--ad-ink); }

/* Benefits section */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.benefits-copy h2 { font-size: 32px; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.01em; }
.benefits-copy p { color: var(--ad-muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 28px; max-width: 460px; }
.benefit-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.benefit-row-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--row-bg, var(--ad-bg-soft)); color: var(--row-icon, var(--ad-purple)); font-size: 18px;
}
.row-green  { --row-bg: #cdf0dd; --row-icon: #1f9d6c; }
.row-violet { --row-bg: #ddd2fc; --row-icon: #6c4cf0; }
.row-orange { --row-bg: #fbdcbd; --row-icon: #e4823a; }
.benefit-row h4 { margin: 0 0 4px; font-size: 15.5px; }
.benefit-row p { margin: 0; font-size: 13.5px; color: var(--ad-muted); }

/* Pricing placeholder */
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px dashed var(--ad-border);
  border-radius: var(--ad-radius);
  padding: 48px;
  text-align: center;
}
.pricing-card i { font-size: 30px; color: var(--ad-purple); margin-bottom: 16px; }
.pricing-card h3 { font-size: 20px; margin: 0 0 10px; }
.pricing-card p { color: var(--ad-muted); font-size: 14.5px; margin: 0 0 26px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background: var(--ad-bg-soft);
  border-radius: 24px;
  padding: 48px;
}
.contact-copy h2 { font-size: 30px; font-weight: 800; margin: 0 0 14px; }
.contact-copy p { color: var(--ad-muted); font-size: 15px; line-height: 1.7; margin: 0 0 28px; max-width: 440px; }
.contact-methods { display: flex; flex-direction: column; gap: 18px; }
.contact-method { display: flex; align-items: center; gap: 14px; }
.contact-method-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ad-success); font-size: 18px; box-shadow: var(--ad-shadow);
}
.contact-method strong { display: block; font-size: 14.5px; }
.contact-method span { font-size: 13px; color: var(--ad-muted); }
.contact-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--ad-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.contact-card i { font-size: 34px; color: var(--ad-success); }
.contact-card h3 { margin: 0; font-size: 18px; }
.contact-card p { margin: 0; color: var(--ad-muted); font-size: 13.5px; }

/* Footer */
.site-footer { padding: 40px 0 28px; border-top: 1px solid var(--ad-border); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 24px; }
.footer-note { font-size: 12.5px; color: var(--ad-muted); }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--ad-muted); }
.footer-links a:hover { color: var(--ad-purple); }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.is-open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 16, 32, 0.72); }
.video-modal-body { position: relative; width: 100%; max-width: 760px; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.video-modal-body iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -44px; right: 0; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff;
  border: none; font-size: 16px; cursor: pointer;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-bg-image { opacity: 0.85; }
  .hero-title { font-size: 42px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--ad-border);
    padding: 16px 20px 24px;
    gap: 16px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-whatsapp { display: none; }
  .nav-toggle { display: flex; }
  .nav-bar { gap: 12px; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn { white-space: nowrap; padding: 10px 16px; font-size: 14px; }
  .nav-toggle span { width: 18px; margin: 0; align-self: center; }
  .hero { padding-bottom: 64px; }
  .hero-grid { padding-top: 48px; }
  .landing .hero-bg-image { display: none; }
  .hero-title { font-size: 34px; }
  .module-grid { grid-template-columns: 1fr; }
  .demo-band { padding: 40px 24px; border-radius: 16px; }
  .section { padding: 64px 0; }
}
