/* public/assets/publico/landing.css — sistema visual del front público de Marketing.
   Acentos vía var(--app-primary) (lo emite partials/styles/lebytek_theme_vars). */
:root {
  --ct-pub-ink: #0f172a;
  --ct-pub-text: #1e293b;
  --ct-pub-muted: #64748b;
  --ct-pub-surface: #f8fafc;
  --ct-pub-border: #e2e8f0;
  --ct-pub-hero-bg: #0f172a;
  --ct-pub-radius: 1rem;
  --ct-pub-shadow: 0 4px 24px rgba(15, 23, 42, .08);
  --ct-pub-shadow-hover: 0 10px 34px rgba(15, 23, 42, .14);
  --ct-pub-font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ct-pub-font-body: 'Inter', system-ui, sans-serif;
}

body.ct-public {
  font-family: var(--ct-pub-font-body);
  color: var(--ct-pub-text);
  background: #fff;
}
.ct-public h1, .ct-public h2, .ct-public h3, .ct-public h4 { font-family: var(--ct-pub-font-head); }
.ct-public img { max-width: 100%; height: auto; }

/* Navbar */
.ct-nav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ct-nav.is-scrolled { border-bottom-color: var(--ct-pub-border); box-shadow: var(--ct-pub-shadow); }
.ct-nav .navbar-brand { font-family: var(--ct-pub-font-head); font-weight: 800; color: var(--ct-pub-ink); }
.ct-nav .nav-link { color: var(--ct-pub-muted); font-weight: 500; }
.ct-nav .nav-link:hover { color: var(--ct-pub-ink); }

/* Section helpers */
.ct-section__title { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ct-section__lead { color: var(--ct-pub-muted); max-width: 38rem; margin: .5rem auto 0; }

/* Hero */
.ct-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #1e293b 0%, var(--ct-pub-hero-bg) 55%);
  color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.ct-hero__glow {
  position: absolute; inset: auto auto -30% -10%;
  width: 38rem; height: 38rem; border-radius: 50%;
  background: var(--app-primary, #0d6efd); filter: blur(120px); opacity: .25;
}
.ct-hero .container { position: relative; z-index: 1; }
.ct-hero__badge {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1.1rem;
}
.ct-hero__title { font-weight: 800; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; }
.ct-hero__subtitle { color: rgba(255, 255, 255, .72); font-size: 1.12rem; margin-top: 1rem; max-width: 34rem; }
.ct-hero__media { border-radius: var(--ct-pub-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* Trust */
.ct-trust { background: var(--ct-pub-surface); border-bottom: 1px solid var(--ct-pub-border); padding: 2.2rem 0; }
.ct-trust__item { display: flex; flex-direction: column; }
.ct-trust__valor { font-family: var(--ct-pub-font-head); font-weight: 800; font-size: 1.6rem; color: var(--ct-pub-ink); }
.ct-trust__etiqueta { color: var(--ct-pub-muted); font-size: .92rem; }

/* Pricing */
.ct-pricing { padding: clamp(3rem, 7vw, 5rem) 0; }
.ct-billing {
  display: inline-flex; gap: .25rem; margin: 1.25rem auto 0; padding: .3rem;
  background: var(--ct-pub-surface); border: 1px solid var(--ct-pub-border); border-radius: 999px;
}
.ct-billing__btn {
  border: 0; background: transparent; border-radius: 999px;
  padding: .45rem 1.2rem; font-weight: 600; color: var(--ct-pub-muted); cursor: pointer;
}
.ct-billing__btn.is-active { background: #fff; color: var(--ct-pub-ink); box-shadow: var(--ct-pub-shadow); }
.ct-plan {
  display: flex; flex-direction: column; position: relative;
  background: #fff; border: 1px solid var(--ct-pub-border); border-radius: var(--ct-pub-radius);
  padding: 2rem 1.6rem; box-shadow: var(--ct-pub-shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.ct-plan:hover { transform: translateY(-4px); box-shadow: var(--ct-pub-shadow-hover); }
.ct-plan--featured { border-color: var(--app-primary, #0d6efd); box-shadow: 0 0 0 1px var(--app-primary, #0d6efd), var(--ct-pub-shadow-hover); }
.ct-plan__badge {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--app-primary, #0d6efd); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px;
}
.ct-plan__name { font-weight: 800; font-size: 1.25rem; }
.ct-plan__price { font-family: var(--ct-pub-font-head); font-weight: 800; font-size: 2.1rem; margin: .4rem 0 1rem; }
.ct-plan__period { font-size: .95rem; font-weight: 500; color: var(--ct-pub-muted); }
.ct-plan__features { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; }
.ct-plan__features li { display: flex; gap: .55rem; align-items: flex-start; padding: .35rem 0; color: var(--ct-pub-text); }
.ct-plan__features i { color: var(--app-primary, #0d6efd); margin-top: .15rem; }

/* Testimonios */
.ct-testimonios { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--ct-pub-surface); }
.ct-testimonio { background: #fff; border: 1px solid var(--ct-pub-border); border-radius: var(--ct-pub-radius); padding: 1.6rem; box-shadow: var(--ct-pub-shadow); }
.ct-testimonio__stars { color: #f59e0b; margin-bottom: .6rem; }
.ct-testimonio__text { color: var(--ct-pub-text); }
.ct-testimonio__autor { color: var(--ct-pub-muted); font-weight: 600; font-size: .9rem; }

/* Demo form */
.ct-demo { padding: clamp(3rem, 7vw, 5rem) 0; }
.ct-demo__card { max-width: 34rem; background: #fff; border: 1px solid var(--ct-pub-border); border-radius: var(--ct-pub-radius); padding: 2rem; box-shadow: var(--ct-pub-shadow); }

/* Footer */
.ct-footer { background: var(--ct-pub-ink); color: rgba(255, 255, 255, .72); padding: 3rem 0 2rem; }
.ct-footer__brand { font-family: var(--ct-pub-font-head); font-weight: 800; color: #fff; font-size: 1.2rem; }
.ct-footer__legal { color: rgba(255, 255, 255, .55); font-size: .9rem; margin-top: .5rem; }
.ct-footer__col-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: .6rem; }
.ct-footer__links { list-style: none; padding: 0; margin: 0; }
.ct-footer__links a { color: rgba(255, 255, 255, .72); text-decoration: none; display: inline-block; padding: .2rem 0; }
.ct-footer__links a:hover { color: #fff; }
.ct-footer__sep { border-color: rgba(255, 255, 255, .12); margin: 2rem 0 1rem; }
.ct-footer__bottom { color: rgba(255, 255, 255, .5); font-size: .85rem; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
