/* ==========================================================================
   Vortex CRM — Landing (sistema visual unificado con el hero)
   Tipografía: Sora (display) + Plus Jakarta Sans (body)
   ========================================================================== */

.lp {
  --lp-max: 1100px;
  --lp-ink: #f4f5f8;
  --lp-muted: #9aa3b8;
  --lp-dim: #6b7289;
  --lp-line: rgba(255, 255, 255, 0.1);
  --lp-panel: rgba(255, 255, 255, 0.03);
  --lp-panel-border: rgba(255, 255, 255, 0.08);
  --font-display: 'Sora', 'Plus Jakarta Sans', sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  min-height: 100dvh;
  background: #03050a;
  color: var(--lp-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

/* ---- Header (Tubelight Navbar — 21st.dev / Serenity UI) ---- */
.lp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.85rem clamp(0.75rem, 3vw, 1.75rem) 0;
  pointer-events: none;
  transition: padding 220ms ease;
}

.lp-header.is-scrolled {
  padding-top: 0.55rem;
}

.lp-header-shell {
  max-width: 76rem;
  margin: 0 auto;
  pointer-events: auto;
}

.lp-header-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.07) 0%, rgba(8, 10, 18, 0.78) 52%, rgba(3, 5, 10, 0.88) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(112, 128, 245, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.lp-header.is-scrolled .lp-header-bar {
  border-color: rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(8, 10, 18, 0.9) 55%, rgba(3, 5, 10, 0.96) 100%);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 24px rgba(112, 128, 245, 0.08);
}

.lp-header-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lp-header-brand img {
  height: 30px;
  width: auto;
  max-width: min(34vw, 138px);
  object-fit: contain;
  display: block;
}

.lp-header-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--lp-panel-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.lp-header-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.lp-header-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #e8eaf2;
  transition: transform 180ms ease, opacity 180ms ease;
}

.lp-header-toggle[aria-expanded="true"] .lp-header-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-header-toggle[aria-expanded="true"] .lp-header-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.lp-header-toggle[aria-expanded="true"] .lp-header-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lp-header-panel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.lp-header-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.lp-header-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.15rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.lp-header-links::-webkit-scrollbar { display: none; }

.lp-header-tube {
  position: absolute;
  top: 0.15rem;
  left: 0;
  height: calc(100% - 0.3rem);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.28) 0%, rgba(79, 125, 240, 0.18) 100%);
  border: 1px solid rgba(196, 181, 253, 0.22);
  box-shadow:
    0 0 22px rgba(112, 128, 245, 0.45),
    0 0 48px rgba(139, 92, 246, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.38s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.2s ease;
  z-index: 0;
}

.lp-header-link {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lp-muted);
  white-space: nowrap;
  transition: color 180ms ease;
}

.lp-header-link:hover {
  color: #eef0f6;
}

.lp-header-link.is-active {
  color: #fff;
  text-shadow: 0 0 18px rgba(196, 181, 253, 0.35);
}

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.lp-header-user {
  font-size: 0.75rem;
  color: var(--color-accent-lavender);
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none;
}

.lp-btn-sm {
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
}

@media (min-width: 1180px) {
  .lp-header-user { display: inline; }
}

@media (max-width: 1280px) {
  .lp-header-link--alt { display: none; }
}

@media (max-width: 1024px) {
  .lp-header-bar {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 0.55rem 0.65rem;
  }

  .lp-header-toggle {
    display: inline-flex;
  }

  .lp-header-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
    padding-top: 0.35rem;
  }

  .lp-header-panel.is-open {
    display: flex;
  }

  .lp-header-nav {
    justify-content: stretch;
  }

  .lp-header-links {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    padding: 0.35rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--lp-panel-border);
  }

  .lp-header-tube { display: none; }

  .lp-header-link {
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
  }

  .lp-header-link.is-active {
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(196, 181, 253, 0.18);
  }

  .lp-header-link--alt { display: block; }

  .lp-header-actions {
    flex-wrap: wrap;
    margin-left: 0;
    padding-top: 0.15rem;
    border-top: 1px solid var(--lp-line);
  }

  .lp-header-actions .lp-btn {
    flex: 1;
    min-width: calc(50% - 0.35rem);
  }

  .lp-header-user {
    display: block;
    width: 100%;
    max-width: none;
    text-align: center;
    margin-bottom: 0.15rem;
  }
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  cursor: pointer;
}

.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 2px solid var(--color-accent-lavender); outline-offset: 3px; }

.lp-btn-ghost {
  background: transparent;
  border-color: var(--lp-panel-border);
  color: #e8eaf2;
}

.lp-btn-ghost:hover { border-color: rgba(196, 181, 253, 0.45); }

.lp-btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(79, 125, 240, 0.28);
}

.lp-btn-primary:hover { box-shadow: var(--shadow-glow); filter: brightness(1.04); }

.lp-header .lang-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--lp-panel-border);
  color: var(--lp-muted);
  min-height: 38px;
}

.lp-header .lang-toggle-opt.is-active {
  color: #fff;
  background: rgba(112, 128, 245, 0.22);
}

/* ---- Hero ---- */
.lp-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 4.5rem;
  overflow: hidden;
}

.lp-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.lp-hero-particles canvas { display: block !important; }

.lp-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 46rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-hero-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent-lavender);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(14px);
}

.lp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  color: #fff;
  opacity: 0;
  transform: translateY(18px);
}

.lp-hero-spark-wrap {
  position: relative;
  width: min(36rem, 90vw);
  height: 7.5rem;
  margin-top: 0.35rem;
}

.lp-divider,
.lp-hero-line {
  position: absolute;
  left: 10%;
  top: 0;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7080f5, transparent);
}

.lp-hero-line.is-soft,
.lp-divider.is-soft {
  height: 4px;
  left: 34%;
  width: 32%;
  top: 0;
  background: linear-gradient(90deg, transparent, #4f7df0, transparent);
  filter: blur(3px);
  opacity: 0.9;
}

.lp-hero-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lp-hero-fade {
  position: absolute;
  inset: 0;
  background: #03050a;
  mask-image: radial-gradient(320px 180px at top, transparent 18%, black 78%);
  -webkit-mask-image: radial-gradient(320px 180px at top, transparent 18%, black 78%);
  pointer-events: none;
}

.lp-hero-lead {
  margin: 0.5rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: var(--lp-muted);
  opacity: 0;
  transform: translateY(14px);
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(14px);
}

.lp-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lp-dim);
  opacity: 0;
}

/* ---- Sections (mismo lenguaje visual, sin animación) ---- */
.lp-section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.15rem, 4vw, 2.5rem);
}

.lp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(79, 125, 240, 0.07), transparent 55%);
  pointer-events: none;
}

.lp-section.lp-band {
  background: #060912;
  border-block: 1px solid var(--lp-line);
}

.lp-section.lp-band::before {
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(109, 78, 242, 0.12), transparent 55%);
}

.lp-section-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--lp-max));
  margin: 0 auto;
}

.lp-section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.lp-section-head.is-center {
  text-align: center;
  margin-inline: auto;
}

.lp-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-lavender);
  margin-bottom: 0.85rem;
}

.lp-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
  color: #fff;
}

.lp-section-rule {
  position: relative;
  width: min(16rem, 60%);
  height: 1.1rem;
  margin: 1.1rem 0 1.15rem;
}

.lp-section-head.is-center .lp-section-rule {
  margin-inline: auto;
}

.lp-section-rule .lp-divider {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 100%;
  height: 1px;
}

.lp-section-rule .lp-divider.is-soft {
  left: 18%;
  width: 45%;
  top: 0.2rem;
}

.lp-section-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--lp-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.lp-section-head.is-center .lp-section-lead {
  margin-inline: auto;
}

/* ---- Paneles / cards unificados ---- */
.lp-panels {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .lp-panels.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .lp-panels.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
  .lp-panels.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .lp-panels.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

.lp-panel {
  position: relative;
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 18px;
  background: var(--lp-panel);
  border: 1px solid var(--lp-panel-border);
  overflow: hidden;
}

.lp-panel::before {
  content: '';
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 128, 245, 0.55), transparent);
}

.lp-panel-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  color: var(--color-accent-lavender);
  opacity: 0.95;
}

.lp-panel h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  color: #fff;
}

.lp-panel p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lp-step-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.65rem;
}

/* ---- Compare ---- */
.lp-compare {
  margin-top: 0.5rem;
  border: 1px solid var(--lp-panel-border);
  border-radius: 18px;
  overflow: hidden;
  overflow-x: auto;
  background: var(--lp-panel);
}

.lp-compare-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1.25fr) repeat(3, minmax(6.5rem, 1fr));
  gap: 0.5rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-muted);
  min-width: 560px;
}

.lp-compare-row:first-child { border-top: 0; }

.lp-compare-head {
  background: rgba(255, 255, 255, 0.035);
  color: #e8eaf2;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-compare-row > span:first-child {
  color: #e8eaf2;
  font-weight: 500;
}

.lp-compare-row .is-accent {
  color: var(--color-accent-lavender);
  font-weight: 600;
}

/* ---- Trust ---- */
.lp-trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .lp-trust { grid-template-columns: repeat(2, 1fr); gap: 0.85rem 1.25rem; }
}

.lp-trust li {
  position: relative;
  padding: 1.05rem 1.15rem 1.05rem 2.5rem;
  border-radius: 14px;
  background: var(--lp-panel);
  border: 1px solid var(--lp-panel-border);
  color: #c5cbd8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lp-trust li::before {
  content: '';
  position: absolute;
  left: 1.05rem;
  top: 1.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gradient-brand);
}

/* ---- FAQ ---- */
.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 46rem;
}

.lp-faq-item {
  border: 1px solid var(--lp-panel-border);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  background: var(--lp-panel);
}

.lp-faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  list-style: none;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }

.lp-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--color-accent-lavender);
  font-weight: 500;
}

.lp-faq-item[open] summary::after { content: '–'; }

.lp-faq-item p {
  margin: 0.8rem 0 0.15rem;
  color: var(--lp-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ---- CTA final ---- */
.lp-cta .lp-section-head { margin-bottom: 1.75rem; }
.lp-cta .lp-hero-cta {
  opacity: 1;
  transform: none;
  margin-top: 0;
}

/* ---- Footer (inspirado en Glowing Footer — 21st.dev / MVPBlocks) ---- */
.lp-footer-glow {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 4rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  overflow: hidden;
}

.lp-footer-glow-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-footer-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.lp-footer-glow-orb--1 {
  top: -6rem;
  left: 18%;
  width: 18rem;
  height: 18rem;
  background: rgba(112, 128, 245, 0.22);
}

.lp-footer-glow-orb--2 {
  right: 16%;
  bottom: -4rem;
  width: 20rem;
  height: 20rem;
  background: rgba(139, 92, 246, 0.18);
}

.lp-footer-glass {
  position: relative;
  z-index: 1;
  max-width: var(--lp-max);
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(3, 5, 10, 0.55) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lp-footer-glass-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1.35rem 2.15rem;
}

@media (min-width: 768px) {
  .lp-footer-glass-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 2.35rem 2rem 2.5rem;
  }
}

.lp-footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 20rem;
}

@media (min-width: 768px) {
  .lp-footer-brand-col {
    align-items: flex-start;
    text-align: left;
  }
}

.lp-footer-logo-link {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.lp-footer-logo-link img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.95;
}

.lp-footer-desc {
  margin: 0 0 1.1rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.lp-footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-accent-lavender);
}

.lp-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.lp-footer-social a:hover {
  color: #fff;
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-1px);
}

.lp-footer-social svg {
  width: 17px;
  height: 17px;
}

.lp-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  width: 100%;
}

@media (min-width: 640px) {
  .lp-footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
    flex: 1;
    justify-content: end;
  }
}

.lp-footer-col-title {
  margin-bottom: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-lavender);
}

.lp-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lp-footer-col a {
  color: rgba(197, 203, 216, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.lp-footer-col a:hover {
  color: #fff;
}

.lp-footer-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--lp-max);
  margin: 1.35rem auto 0;
  padding: 0 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}

@media (min-width: 768px) {
  .lp-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.lp-footer-copy {
  color: #5b6275;
  font-size: 0.78rem;
}

.lp-footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.lp-footer-legal {
  color: #7b8396;
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.lp-footer-legal:hover {
  color: var(--color-accent-lavender);
}

.lp-footer-legal-sep {
  width: 1px;
  height: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
}

.lp-footer-glow .lang-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  min-height: 32px;
  font-size: 0.68rem;
}

/* ---- Stats strip ---- */
.lp-stats {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 3rem;
}

.lp-stats-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-panel-border);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .lp-stats-inner { grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.35rem 1.5rem; }
}

.lp-stat {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.lp-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

.lp-stat-label {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--lp-muted);
  line-height: 1.35;
}

/* ---- Testimonials ---- */
.lp-testimonials {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .lp-testimonials { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
}

.lp-testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 18px;
  background: var(--lp-panel);
  border: 1px solid var(--lp-panel-border);
}

.lp-testimonial-quote {
  margin: 0;
  color: #d8dce8;
  font-size: 0.98rem;
  line-height: 1.65;
  font-style: italic;
}

.lp-testimonial-quote::before {
  content: '"';
  color: var(--color-accent-lavender);
  font-style: normal;
  font-size: 1.35rem;
  line-height: 0;
  vertical-align: -0.15em;
  margin-right: 0.15rem;
}

.lp-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.lp-testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.lp-testimonial-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.92rem;
}

.lp-testimonial-meta {
  font-size: 0.8rem;
  color: var(--lp-dim);
  line-height: 1.35;
}

/* ---- UI examples ---- */
.lp-mocks {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .lp-mocks { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

.lp-mock {
  border-radius: 18px;
  border: 1px solid var(--lp-panel-border);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.lp-mock-head {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--lp-line);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e8eaf2;
  letter-spacing: 0.02em;
}

.lp-mock-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lp-mock-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.lp-mock-col {
  padding: 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lp-panel-border);
  min-height: 5.5rem;
}

.lp-mock-col-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-dim);
  margin-bottom: 0.35rem;
}

.lp-mock-card {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: rgba(112, 128, 245, 0.12);
  border: 1px solid rgba(112, 128, 245, 0.22);
  font-size: 0.68rem;
  color: #c5cbd8;
  margin-bottom: 0.3rem;
}

.lp-mock-card strong {
  display: block;
  color: #fff;
  font-size: 0.72rem;
  margin-bottom: 0.1rem;
}

.lp-mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.lp-mock-table th,
.lp-mock-table td {
  padding: 0.35rem 0.25rem;
  text-align: left;
  border-bottom: 1px solid var(--lp-line);
}

.lp-mock-table th {
  color: var(--lp-dim);
  font-weight: 600;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-mock-badge {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
}

.lp-mock-badge.is-ok { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.lp-mock-badge.is-warn { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }
.lp-mock-badge.is-muted { background: rgba(255, 255, 255, 0.06); color: var(--lp-muted); }

.lp-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.lp-mock-kpi {
  padding: 0.55rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--lp-panel-border);
  text-align: center;
}

.lp-mock-kpi-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.lp-mock-kpi-label {
  font-size: 0.58rem;
  color: var(--lp-dim);
  margin-top: 0.15rem;
  line-height: 1.25;
}

/* ---- Showcase interactivo (mockups PC / móvil) ---- */
.lp-showcase-section {
  overflow: hidden;
}

.lp-showcase {
  display: grid;
  gap: 1.25rem;
}

.lp-showcase-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.lp-showcase-group {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--lp-panel-border);
  background: rgba(255, 255, 255, 0.03);
  gap: 0.15rem;
}

.lp-showcase-chip {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--lp-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lp-showcase-chip:hover {
  color: #fff;
}

.lp-showcase-chip.is-active {
  background: rgba(91, 99, 240, 0.22);
  color: #fff;
}

.lp-showcase-play.is-active {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
}

.lp-showcase-stage {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  min-height: 420px;
  padding: 1.25rem 0 0.5rem;
  perspective: 1200px;
}

@media (min-width: 960px) {
  .lp-showcase-stage {
    grid-template-columns: 1.4fr 0.85fr;
    min-height: 520px;
  }
}

.lp-showcase-glow {
  position: absolute;
  inset: 10% 15% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(91, 99, 240, 0.28), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.lp-showcase-device {
  position: relative;
  z-index: 1;
  justify-self: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease-out;
  width: min(100%, 720px);
}

.lp-showcase-device.is-mobile {
  width: min(100%, 280px);
}

.lp-showcase-laptop {
  display: grid;
  gap: 0;
}

.lp-showcase-bezel {
  position: relative;
  border-radius: 14px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0c14;
  padding: 0.55rem 0.55rem 0.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lp-showcase-camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 auto 0.35rem;
  background: #1c2233;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lp-showcase-base {
  height: 12px;
  margin: 0 auto;
  width: 68%;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #1a2030, #0d1018);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 0;
}

.lp-showcase-phone {
  position: relative;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: #05070d;
  padding: 0.7rem 0.45rem 0.85rem;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.5);
}

.lp-showcase-notch {
  width: 38%;
  height: 10px;
  margin: 0 auto 0.45rem;
  border-radius: 999px;
  background: #111522;
}

.lp-showcase-screen {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 16 / 10.5;
}

.lp-showcase-device.is-mobile .lp-showcase-screen {
  aspect-ratio: 9 / 16;
  border-radius: 18px;
}

.lp-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 280ms ease, transform 320ms ease;
  pointer-events: none;
}

.lp-showcase-img.is-active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.lp-showcase-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(91, 99, 240, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(91, 99, 240, 0.45);
  animation: lp-hotspot-pulse 2.2s ease-out infinite;
}

.lp-showcase-hotspot.is-pulse {
  animation: none;
  transform: translate(-50%, -50%) scale(1.15);
}

@keyframes lp-hotspot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 99, 240, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(91, 99, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 99, 240, 0); }
}

.lp-showcase-caption {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--lp-panel-border);
  background: rgba(255, 255, 255, 0.03);
  align-self: center;
}

.lp-showcase-caption-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.lp-showcase-caption-text {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.lp-showcase-tip {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(91, 99, 240, 0.12);
  border: 1px solid rgba(91, 99, 240, 0.28);
  color: #e0e7ff;
  font-size: 0.82rem;
  line-height: 1.45;
}

.lp-showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .lp-showcase-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lp-showcase-thumb {
  appearance: none;
  border: 1px solid var(--lp-panel-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 0.45rem;
  cursor: pointer;
  color: var(--lp-muted);
  text-align: left;
  display: grid;
  gap: 0.4rem;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.lp-showcase-thumb img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.lp-showcase-thumb span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0 0.15rem 0.15rem;
}

.lp-showcase-thumb:hover {
  border-color: rgba(91, 99, 240, 0.45);
  color: #fff;
  transform: translateY(-2px);
}

.lp-showcase-thumb.is-active {
  border-color: rgba(91, 99, 240, 0.65);
  background: rgba(91, 99, 240, 0.1);
  color: #fff;
}

.lp-showcase-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lp-showcase-lightbox[hidden] {
  display: none !important;
}

.lp-showcase-lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.lp-showcase-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .lp-showcase-hotspot { animation: none; }
  .lp-showcase-device { transition: none; }
  .lp-showcase-img { transition: none; }
}

/* ---- Páginas estáticas / legales ---- */
.lp-static-header {
  position: sticky;
  top: 0;
  z-index: 45;
  padding: 0.75rem clamp(0.85rem, 3vw, 1.75rem);
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lp-line);
}

.lp-static-header-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-static-brand img {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.lp-static-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lp-static-nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lp-muted);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.lp-static-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.lp-static-main {
  padding: 2rem clamp(0.85rem, 3vw, 1.75rem) 3rem;
}

.lp-legal-doc {
  max-width: 52rem;
  margin: 0 auto;
}

.lp-legal-doc-head {
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--lp-line);
}

.lp-legal-doc-intro {
  margin: 0.85rem 0 0;
  color: var(--lp-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42rem;
}

.lp-legal-updated {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--lp-dim);
}

.lp-legal-section {
  margin-bottom: 1.75rem;
}

.lp-legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #eef0f6;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.lp-legal-block {
  margin: 0 0 0.75rem;
  color: #c5cbd8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.lp-legal-block ul {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.15rem;
}

.lp-legal-block li { margin-bottom: 0.35rem; }

.lp-legal-block a {
  color: var(--color-accent-lavender);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-legal-block code {
  font-size: 0.85em;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.lp-legal-cards {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .lp-legal-cards { grid-template-columns: repeat(2, 1fr); }
}

.lp-legal-card {
  display: block;
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--lp-panel-border);
  background: var(--lp-panel);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lp-legal-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.lp-legal-card h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.45rem;
  color: #fff;
}

.lp-legal-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.lp-contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .lp-contact-grid { grid-template-columns: 1fr 1.2fr; gap: 1.15rem; }
}

.lp-contact-card {
  padding: 1.25rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--lp-panel-border);
  background: var(--lp-panel);
}

.lp-contact-card h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 1rem;
  color: #fff;
}

.lp-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lp-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-dim);
  margin-bottom: 0.2rem;
}

.lp-contact-list a {
  color: var(--color-accent-lavender);
  font-weight: 600;
}

.lp-contact-form .field {
  margin-bottom: 0.85rem;
}

.lp-contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #dfe3ec;
  margin-bottom: 0.35rem;
}

.lp-contact-form .input {
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--lp-panel-border);
  background: rgba(255, 255, 255, 0.04);
  color: #eef0f6;
  font: inherit;
}

.lp-contact-form textarea.input {
  min-height: 120px;
  resize: vertical;
}

.lp-contact-notice {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.lp-contact-notice.is-ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #bbf7d0;
}

.lp-contact-notice.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fecaca;
}

.lp-contact-legal-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--lp-dim);
  line-height: 1.45;
}

.lp-static-footer {
  padding: 1.75rem clamp(0.85rem, 3vw, 1.75rem) 2.25rem;
  border-top: 1px solid var(--lp-line);
}

.lp-static-footer-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  text-align: center;
}

.lp-static-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
}

.lp-static-footer-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lp-muted);
}

.lp-static-footer-links a:hover { color: var(--color-accent-lavender); }

.lp-static-footer-copy {
  font-size: 0.78rem;
  color: #5b6275;
}

.lp-static .lang-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--lp-panel-border);
  min-height: 34px;
}

@media (max-width: 640px) {
  .lp-static-nav-link:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn:hover { transform: none; }
  .lp-header-tube { transition: none; }
  .lp-hero-kicker,
  .lp-hero-title,
  .lp-hero-lead,
  .lp-hero-cta,
  .lp-hero-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
