/* ============================================================
   landing.css — Builder CVCR
   Estilos de la landing page de ventas
   ============================================================ */
:root {
  --primary:      #2563eb;
  --primary-dark: #1d4ed8;
  --accent:       #f59e0b;
  --text:         #0f172a;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --bg-soft:      #f8fafc;
  --font:         'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: #fff; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.py-section { padding: 80px 0; }
.bg-soft { background: var(--bg-soft); }
.text-center { text-align: center; }

/* ─── Navbar ────────────────────────────────────────────────── */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: box-shadow .25s;
}
.landing-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 1.1rem; font-weight: 800;
  color: var(--text);
}
.nav-brand strong { color: var(--primary); }
.nav-brand-icon {
  width: 34px; height: 34px; background: var(--primary);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.nav-links a { font-size: .875rem; font-weight: 600; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.btn-nav-login {
  padding: 7px 16px; border-radius: 8px;
  border: 1.5px solid var(--border); color: var(--text) !important;
  font-weight: 600; transition: border-color .15s !important;
}
.btn-nav-login:hover { border-color: var(--primary); color: var(--primary) !important; }
.btn-nav-cta {
  padding: 8px 18px; border-radius: 8px;
  background: var(--primary); color: #fff !important;
  font-weight: 700; font-size: .875rem;
  transition: background .15s, transform .12s !important;
}
.btn-nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }

/* ─── Hero ──────────────────────────────────────────────────── */
.landing-hero {
  position: relative; overflow: hidden;
  padding: 130px 0 80px;
  background: #fff;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
}
.shape-blob.s1 {
  width: 600px; height: 600px; top: -150px; right: -100px;
  background: rgba(37,99,235,.08);
}
.shape-blob.s2 {
  width: 400px; height: 400px; bottom: -100px; left: -80px;
  background: rgba(245,158,11,.06);
}
.shape-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: #fef3c7; color: #b45309;
  font-size: .78rem; font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid #fde68a;
}
.hero-title {
  font-family: var(--font); font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900; letter-spacing: -.05em; line-height: 1.1;
  color: var(--text); margin-bottom: 18px;
}
.hero-title-accent {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
  max-width: 480px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-hero-primary {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: 12px;
  background: var(--primary); color: #fff;
  font-family: var(--font); font-size: .95rem; font-weight: 800;
  transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,.4); color: #fff; }
.btn-hero-secondary {
  display: inline-flex; align-items: center;
  padding: 14px 22px; border-radius: 12px;
  background: #fff; color: var(--text);
  border: 1.5px solid var(--border);
  font-family: var(--font); font-size: .95rem; font-weight: 700;
  transition: border-color .15s;
}
.btn-hero-secondary:hover { border-color: var(--primary); color: var(--primary); }
.hero-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
.trust-item i { color: #22c55e; }

/* Mockup */
.hero-mockup { position: relative; padding: 20px 0; }
.mockup-browser {
  background: #fff; border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.06);
  overflow: hidden; border: 1px solid var(--border);
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ef4444; } .dot.y { background: #f59e0b; } .dot.g { background: #22c55e; }
.mockup-url {
  flex: 1; background: #fff; border-radius: 6px;
  padding: 4px 12px; font-size: .72rem; color: var(--muted);
  border: 1px solid var(--border); margin-left: 8px;
}
.mockup-screen { padding: 0; }
.mockup-header-bar { height: 44px; background: var(--primary); }
.mockup-hero-area {
  background: #f8fafc; padding: 24px 20px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.mockup-h1 { width: 70%; height: 12px; background: #0f172a; border-radius: 3px; }
.mockup-p  { width: 85%; height: 8px;  background: #cbd5e1; border-radius: 3px; }
.mockup-btn{ width: 100px; height: 24px; background: var(--primary); border-radius: 6px; margin-top: 4px; }
.mockup-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 16px; background: #fff; }
.mockup-card { height: 60px; background: #f8fafc; border-radius: 6px; border: 1px solid var(--border); }

.mockup-badge {
  position: absolute; right: -16px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px;
  padding: 10px 14px; box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border: 1px solid var(--border); font-size: .8rem;
}
.mockup-badge.google-badge { top: 20px; }
.mockup-badge.wa-badge     { bottom: 40px; right: -10px; }
.mockup-badge i { font-size: 1.3rem; }
.google-badge i { color: #4285f4; }
.wa-badge i     { color: #25d366; }
.mockup-badge strong { display: block; font-weight: 700; line-height: 1; }
.mockup-badge span   { font-size: .72rem; color: var(--muted); }

/* ─── Social proof ──────────────────────────────────────────── */
.landing-social-proof { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sp-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; margin-bottom: 14px; }
.sp-types { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.sp-types span { font-size: .82rem; font-weight: 600; color: var(--muted); }

/* ─── Section headers ───────────────────────────────────────── */
.section-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--primary);
  margin-bottom: 8px;
}
.landing-section-title {
  font-family: var(--font); font-size: clamp(1.6rem,3.5vw,2.4rem);
  font-weight: 800; letter-spacing: -.04em;
  margin-bottom: 12px;
}
.landing-section-desc { font-size: 1rem; color: var(--muted); margin-bottom: 48px; }

/* ─── Features grid ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.feature-card {
  padding: 28px 24px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,.1); transform: translateY(-3px); }
.feature-card.featured { border-color: var(--primary); background: linear-gradient(135deg, #eff6ff, #fff); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-family: var(--font); font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.feature-tag { margin-top: 12px; display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 10px; background: var(--primary); color: #fff; border-radius: 20px; }

/* ─── Cómo funciona ─────────────────────────────────────────── */
.how-steps {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 8px; flex-wrap: wrap;
}
.how-step { text-align: center; max-width: 180px; }
.how-num {
  display: inline-block; width: 36px; height: 36px;
  background: var(--primary); color: #fff;
  border-radius: 50%; font-family: var(--font); font-weight: 800;
  font-size: .9rem; line-height: 36px;
  margin: 0 auto 12px;
}
.how-icon  { font-size: 2rem; margin-bottom: 10px; }
.how-step h3 { font-family: var(--font); font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.how-step p  { font-size: .78rem; color: var(--muted); line-height: 1.55; }
.how-arrow   { font-size: 1.2rem; color: #cbd5e1; margin-top: 28px; flex-shrink: 0; }

/* ─── Precios ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 32px;
}
.pricing-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 20px;
  padding: 32px 28px; position: relative;
  transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover   { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-3px); }
.pricing-card.featured{ border-color: var(--primary); box-shadow: 0 8px 32px rgba(37,99,235,.15); }
.pricing-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 800; padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-name  { font-family: var(--font); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.pricing-price { margin-bottom: 6px; display: flex; align-items: baseline; gap: 2px; }
.price-currency{ font-family: var(--font); font-size: 1.4rem; font-weight: 700; color: var(--text); }
.price-amount  { font-family: var(--font); font-size: 2.4rem; font-weight: 900; color: var(--text); letter-spacing: -.04em; }
.price-period  { font-size: .85rem; color: var(--muted); margin-left: 4px; }
.pricing-desc  { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.pricing-features li i { color: var(--primary); font-size: .9rem; }
.pricing-features li.disabled { color: #94a3b8; }
.pricing-features li.disabled i { color: #cbd5e1; }
.btn-pricing {
  display: block; text-align: center; width: 100%;
  padding: 12px; border-radius: 10px;
  background: var(--bg-soft); color: var(--text);
  border: 1.5px solid var(--border);
  font-family: var(--font); font-size: .9rem; font-weight: 700;
  transition: background .15s, border-color .15s;
}
.btn-pricing:hover { border-color: var(--primary); color: var(--primary); }
.btn-pricing.featured { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-pricing.featured:hover { background: var(--primary-dark); color: #fff; }
.pricing-note {
  text-align: center; font-size: .82rem; color: var(--muted);
  background: var(--bg-soft); padding: 14px 20px;
  border-radius: 10px; border: 1px solid var(--border);
}
.pricing-note i { color: #22c55e; }

/* ─── Testimonios landing ───────────────────────────────────── */
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.testimonio-landing {
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px;
  padding: 28px 24px;
}
.tl-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; }
.testimonio-landing p { font-size: .9rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.tl-author { display: flex; align-items: center; gap: 10px; }
.tl-avatar { width: 38px; height: 38px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.tl-author strong { display: block; font-size: .85rem; font-weight: 700; }
.tl-author span   { font-size: .75rem; color: var(--muted); }

/* ─── FAQ ───────────────────────────────────────────────────── */
.landing-faq-item { border: 1.5px solid var(--border) !important; border-radius: 12px !important; margin-bottom: 8px !important; overflow: hidden; }
.landing-faq-btn { font-family: var(--font); font-weight: 700; font-size: .95rem; color: var(--text) !important; background: #fff !important; box-shadow: none !important; padding: 18px 22px; }
.landing-faq-btn:not(.collapsed) { color: var(--primary) !important; }
.landing-faq-answer { font-size: .875rem; color: var(--muted); line-height: 1.7; padding: 4px 22px 18px; }

/* ─── CTA final ─────────────────────────────────────────────── */
.landing-cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e3a8a, #2563eb, #3b82f6);
  color: #fff;
}
.cta-final-title { font-family: var(--font); font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 14px; }
.cta-final-desc  { font-size: 1rem; opacity: .85; max-width: 500px; margin: 0 auto 32px; line-height: 1.65; }
.btn-cta-final {
  display: inline-flex; align-items: center;
  padding: 16px 36px; border-radius: 14px;
  background: #fff; color: var(--primary);
  font-family: var(--font); font-size: 1rem; font-weight: 800;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-cta-final:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.25); color: var(--primary); }
.cta-final-note { margin-top: 16px; font-size: .78rem; opacity: .65; }

/* ─── Footer landing ────────────────────────────────────────── */
.landing-footer { background: #0f172a; color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.lf-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.lf-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--font); font-size: 1rem; font-weight: 700; color: #fff; }
.lf-brand strong { color: #60a5fa; }
.lf-brand-icon { width: 30px; height: 30px; background: var(--primary); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.lf-desc { font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 260px; }
.lf-col-title { font-family: var(--font); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.lf-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lf-grid a { font-size: .82rem; color: rgba(255,255,255,.55); transition: color .15s; }
.lf-grid a:hover { color: #fff; }
.lf-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; color: rgba(255,255,255,.3); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-mockup .mockup-badge { display: none; }
  .lf-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { flex-direction: column; align-items: center; }
  .how-arrow { transform: rotate(90deg); margin: 0; }
}
@media (max-width: 575px) {
  .landing-hero { padding: 100px 0 60px; }
  .hero-title    { font-size: 2rem; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .lf-grid       { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
