:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --accent: #ec4899;
  --success: #16a34a;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, .16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img { max-width: 100%; }
a { text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------------- Nav ---------------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.5rem; max-width: 1120px; margin: 0 auto; }
.lp-brand img { height: 52px; display: block; }
.lp-nav-links { display: flex; align-items: center; gap: 1.75rem; }
.lp-nav-links a.lp-link { color: var(--text); font-weight: 600; font-size: .92rem; }
.lp-nav-links a.lp-link:hover { color: var(--primary); }
.lp-nav-cta { display: flex; align-items: center; gap: .6rem; }
.lp-menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.lp-menu-btn svg { width: 20px; height: 20px; }

/* ---------------- Mobile nav panel ---------------- */
.lp-mobile-nav {
  display: none; flex-direction: column; gap: .1rem; padding: .5rem 1.5rem 1.1rem;
  border-top: 1px solid var(--border); background: #fff;
  max-height: 0; overflow: hidden;
}
.lp-mobile-nav.is-open { display: flex; max-height: 70vh; overflow-y: auto; }
.lp-mobile-nav a.lp-link { padding: .7rem 0; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .95rem; }
.lp-mobile-nav a.lp-link:last-child { border-bottom: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem; border-radius: 10px; font-weight: 700; font-size: .92rem;
  border: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebc59; transform: translateY(-1px); }
.btn-call { background: #111827; color: #fff; }
.btn-call:hover { background: #000; transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1rem; }

/* ---------------- Hero ---------------- */
.lp-hero {
  background: radial-gradient(circle at top left, #4338ca, #111827 65%);
  color: #fff; padding: 4.5rem 0 5rem; position: relative; overflow: hidden;
}
.lp-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.lp-badge {
  display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22); color: #e0e7ff; padding: .4rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1.25rem;
}
.lp-hero h1 { font-size: 2.5rem; line-height: 1.15; margin: 0 0 1.1rem; font-weight: 800; }
.lp-hero h1 span { color: #a5b4fc; }
.lp-hero p.lp-sub { font-size: 1.08rem; color: #cbd5e1; max-width: 46ch; margin: 0 0 1.75rem; }
.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.5rem; }
.lp-hero-note { font-size: .82rem; color: #94a3b8; }
.lp-hero-note strong { color: #e2e8f0; }

.lp-hero-visual {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 1.1rem; transform: rotate(1.5deg);
}
.lp-hero-visual .mock-topbar { display: flex; align-items: center; gap: .35rem; padding: 0 .3rem .8rem; }
.lp-hero-visual .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.lp-hero-visual .mock-dash-title { margin-left: .45rem; font-weight: 800; font-size: .8rem; color: var(--text); }
.lp-hero-visual .mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.lp-hero-visual .mock-stat-card { display: flex; align-items: center; gap: .5rem; background: #f8fafc; border-radius: 10px; padding: .55rem; }
.lp-hero-visual .mock-stat-icon { width: 30px; height: 30px; min-width: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.lp-hero-visual .mock-stat-icon svg { width: 16px; height: 16px; }
.lp-hero-visual .mock-icon-indigo { background: #eef2ff; color: #4f46e5; }
.lp-hero-visual .mock-icon-green { background: #dcfce7; color: #16a34a; }
.lp-hero-visual .mock-icon-cyan { background: #cffafe; color: #0891b2; }
.lp-hero-visual .mock-icon-amber { background: #fef3c7; color: #d97706; }
.lp-hero-visual .mock-stat-value { font-size: .92rem; font-weight: 800; line-height: 1.1; color: var(--text); }
.lp-hero-visual .mock-stat-label { font-size: .62rem; color: var(--text-muted); margin-top: .1rem; }
.lp-hero-visual .mock-chart { margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--border); }
.lp-hero-visual .mock-chart-head { font-size: .7rem; font-weight: 700; color: var(--text-muted); margin-bottom: .5rem; }
.lp-hero-visual .mock-chart-bars { display: flex; align-items: flex-end; gap: .4rem; height: 54px; }
.lp-hero-visual .mock-chart-bars span { flex: 1; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border-radius: 4px 4px 0 0; }

/* ---------------- Trust strip ---------------- */
.lp-trust { background: #f8fafc; border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.lp-trust .container { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; text-align: center; }
.lp-trust-item { font-size: .85rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.lp-trust-item svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* ---------------- Sections ---------------- */
.lp-section { padding: 5rem 0; }
.lp-section.alt { background: #f8fafc; }
.lp-eyebrow { color: var(--primary); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .6rem; }
.lp-section h2 { font-size: 2rem; font-weight: 800; margin: 0 0 .75rem; }
.lp-section p.lp-lead { color: var(--text-muted); font-size: 1.02rem; max-width: 60ch; margin: 0 0 2.75rem; }
.lp-section-head { text-align: center; }
.lp-section-head p.lp-lead { margin-left: auto; margin-right: auto; }

/* ---------------- Feature grid ---------------- */
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.lp-feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.lp-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: #eef2ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-feature-card h3 { font-size: 1rem; margin: 0 0 .4rem; font-weight: 700; }
.lp-feature-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---------------- Pricing ---------------- */
.lp-pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; max-width: 780px; margin: 0 auto; }
.lp-price-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 2rem;
  position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.lp-price-card.featured { border-color: var(--primary); box-shadow: 0 20px 45px rgba(79,70,229,.18); }
.lp-price-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .03em;
  padding: .3rem .9rem; border-radius: 999px; white-space: nowrap;
}
.lp-price-plan { font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem; }
.lp-price-card.featured .lp-price-plan { color: var(--primary); }
.lp-price-amount { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .35rem; }
.lp-price-amount .num { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.lp-price-amount .per { font-size: .95rem; color: var(--text-muted); font-weight: 600; }
.lp-price-billed { font-size: .85rem; color: var(--text-muted); margin-bottom: .3rem; }
.lp-price-save { font-size: .82rem; color: var(--success); font-weight: 700; margin-bottom: 1.4rem; }
.lp-price-cancel { font-size: .78rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.lp-price-card ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.lp-price-card ul li { font-size: .86rem; display: flex; align-items: flex-start; gap: .5rem; color: var(--text); }
.lp-price-card ul li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: .15rem; }

/* ---------------- FAQ ---------------- */
.lp-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.lp-faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.4rem;
}
.lp-faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; font-size: .96rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-caret { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; color: var(--primary); transition: transform .2s ease; }
.lp-faq-caret svg { width: 16px; height: 16px; }
.lp-faq-item[open] .lp-faq-caret { transform: rotate(45deg); }
.lp-faq-item p { margin: 0 0 1.2rem; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* ---------------- Contact / CTA ---------------- */
.lp-cta { background: radial-gradient(circle at bottom right, #4338ca, #111827 65%); color: #fff; text-align: center; }
.lp-cta h2 { color: #fff; }
.lp-cta p.lp-lead { color: #cbd5e1; margin-left: auto; margin-right: auto; }
.lp-cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------------- Footer ---------------- */
.lp-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--border); background: #f8fafc; }
.lp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.lp-footer-col { display: flex; flex-direction: column; gap: .65rem; }
.lp-footer-heading { font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin-bottom: .3rem; }
.lp-footer-col a { color: var(--text-muted); font-size: .88rem; }
.lp-footer-col a:hover { color: var(--primary); }
.lp-footer-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--text); font-size: 1.02rem; }
.lp-footer-brand img { height: 26px; }
.lp-footer-tagline { font-size: .85rem; color: var(--text-muted); margin: .25rem 0 .4rem; max-width: 32ch; }
.lp-footer-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--text); font-size: .88rem; }
.lp-footer-phone svg { width: 15px; height: 15px; color: var(--primary); }
.lp-footer-copy { font-size: .8rem; color: var(--text-muted); text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.lp-footer-copy a { color: var(--text-muted); font-weight: 700; }

/* ---------------- Legal pages (Privacy / Terms) ---------------- */
.lp-legal-hero { background: radial-gradient(circle at top left, #4338ca, #111827 65%); color: #fff; padding: 3rem 0; }
.lp-legal-hero h1 { margin: 0 0 .4rem; font-size: 2rem; font-weight: 800; }
.lp-legal-updated { color: #cbd5e1; font-size: .88rem; margin: 0; }
.lp-legal { max-width: 760px; }
.lp-legal h2 { font-size: 1.2rem; font-weight: 800; margin: 2rem 0 .6rem; }
.lp-legal h2:first-of-type { margin-top: 0; }
.lp-legal p { color: var(--text-muted); font-size: .95rem; line-height: 1.75; margin: 0 0 1rem; }
.lp-legal a { color: var(--primary); font-weight: 600; }

/* ---------------- Floating buttons ---------------- */
.lp-floating {
  position: fixed; right: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; gap: .7rem; z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lp-floating.is-visible { opacity: 1; pointer-events: auto; }
.lp-fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.25); color: #fff; transition: transform .15s ease;
}
.lp-fab:hover { transform: scale(1.08); }
.lp-fab svg { width: 26px; height: 26px; }
.lp-fab.whatsapp { background: #25D366; }
.lp-fab.call { background: #111827; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .lp-hero .container { grid-template-columns: 1fr; }
  .lp-hero-visual { transform: none; order: -1; max-width: 420px; margin: 0 auto; }
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-nav-links { display: none; }
  .lp-menu-btn { display: inline-flex; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.15rem; }
  .lp-hero { padding: 2.75rem 0 3.25rem; }
  .lp-hero h1 { font-size: 1.85rem; }
  .lp-section { padding: 3.25rem 0; }
  .lp-section h2 { font-size: 1.5rem; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-pricing-grid { grid-template-columns: 1fr; }
  .lp-nav-cta .btn span.lp-hide-mobile { display: none; }
  .lp-brand img { height: 42px; }
  .lp-footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
  .lp-footer-brand { justify-content: center; }
  .lp-footer-phone { justify-content: center; }
  .lp-faq-item summary { font-size: .9rem; padding: 1rem 0; }
  .lp-legal-hero h1 { font-size: 1.6rem; }
}

@media (max-width: 400px) {
  .lp-nav-cta .btn.btn-primary { padding: .6rem 1rem; font-size: .85rem; }
  .lp-hero-ctas { flex-direction: column; align-items: stretch; }
  .lp-hero-ctas .btn { width: 100%; }
  .lp-cta-buttons { flex-direction: column; align-items: stretch; }
  .lp-cta-buttons .btn { width: 100%; }
}
