/* =========================================================
   APP.CSS — ULTRA PRO (Landing + Popup + Pricing SaaS)
   Reemplazar el contenido completo por este archivo
========================================================= */

:root{
  --brand: #0d6efd;
  --brand-2: #6f42c1;

  --bg-soft: #f6f8fb;
  --card-radius: 16px;

  --text: rgba(15,23,42,0.92);
  --muted: rgba(15,23,42,0.65);
  --border: rgba(15,23,42,0.10);

  --shadow-sm: 0 10px 30px rgba(2,6,23,0.06);
  --shadow-md: 0 18px 55px rgba(2,6,23,0.10);
  --shadow-lg: 0 28px 90px rgba(2,6,23,0.16);
}

body{ background: var(--bg-soft); }

/* =========================================================
   Base UI
========================================================= */
.navbar{ box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.card{ border: 0; border-radius: var(--card-radius); }
.btn{ border-radius: 12px; }

:where(a, button, input, select, textarea):focus-visible{
  outline: 3px solid rgba(13,110,253,0.35);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Ads placeholder */
.ads-slot{
  border: 1px dashed rgba(15, 23, 42, 0.25);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  color: rgba(15, 23, 42, 0.65);
  background: rgba(2, 6, 23, 0.02);
}
.ads-slot--dark{
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
}

/* =========================================================
   Landing (Home)
========================================================= */
.landing-body{ background: #0b1220; }

/* Navbar sobre hero */
.landing-navbar{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 15, 25, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* Hero */
.landing-hero{
  position: relative;
  overflow: hidden;
  min-height: 78vh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-top: 84px;
  padding-bottom: 24px;

  background:
    radial-gradient(1200px 400px at 10% 10%, rgba(59,130,246,0.35), transparent 60%),
    radial-gradient(900px 400px at 90% 20%, rgba(99,102,241,0.25), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0a0f19 100%);
}
.landing-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 700px at 50% 10%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  pointer-events: none;
}
.hero-content{ position: relative; }

.badge-hero{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  border-radius: 999px;
}

.hero-text-wrap{ max-width: 680px; }
.hero-title{
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(2.0rem, 3.2vw, 3.2rem);
  margin-bottom: 14px;
  color: #fff;
}
.hero-lead{
  max-width: 60ch;
  font-size: clamp(1.0rem, 1.25vw, 1.15rem);
  color: rgba(255,255,255,0.80);
}

.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  display: inline-block;
}

/* Hero card */
.hero-card{
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(0,0,0,0.06);
}

.pill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Trust strip */
.trust-strip{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust-item{
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.10);
}
.trust-number{
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.trust-label{
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* Sección blanca */
.landing-section{ background: #ffffff; }

.feature-card, .step-card, .quote-card, .cta-card{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  height: 100%;
}

.feature-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(59,130,246,0.12);
  margin-bottom: 10px;
  font-size: 20px;
}
.step-badge{
  width: 34px; height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(99,102,241,0.12);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-card{
  background:
    radial-gradient(900px 300px at 10% 20%, rgba(59,130,246,0.10), transparent 60%),
    radial-gradient(700px 300px at 90% 20%, rgba(99,102,241,0.10), transparent 60%),
    #ffffff;
}

/* Sticky CTA */
.sticky-cta{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;

  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(10, 15, 25, 0.75);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   Lead + Before/After + Testimonios
========================================================= */
.lead-card{
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(900px 240px at 10% 0%, rgba(13,110,253,.10), transparent 60%),
    radial-gradient(700px 240px at 90% 10%, rgba(99,102,241,.10), transparent 60%),
    #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  padding: 22px;
}

.ba-card{
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.ba-card--bad{ background: rgba(220, 53, 69, 0.06); }
.ba-card--good{ background: rgba(25, 135, 84, 0.06); }

.testi-card{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* =========================================================
   Popup Lead
========================================================= */
.lead-popup{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.lead-popup.is-open{ display: block; }
.lead-popup__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.lead-popup__card{
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 28px));
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 18px 70px rgba(0,0,0,0.35);
  padding: 18px;
}
.lead-popup__close{
  position: absolute;
  right: 10px;
  top: 6px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: rgba(15,23,42,0.55);
}
.lead-popup__badge{
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(13,110,253,0.10);
  color: rgba(13,110,253,1);
  margin-bottom: 10px;
  font-weight: 800;
}

/* =========================================================
   Pricing — Ultra Pro (SaaS)
========================================================= */
#planes{ position: relative; }
#planes::before{
  content:"";
  position:absolute;
  inset:-18px -12px;
  border-radius: 22px;
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(13,110,253,0.10), transparent 60%),
    radial-gradient(700px 260px at 90% 10%, rgba(111,66,193,0.10), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0.03), rgba(2,6,23,0.00));
  pointer-events:none;
  z-index:0;
}
#planes > *{ position: relative; z-index: 1; }

.price-card{
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* brillo tipo glass */
.price-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(650px 230px at 15% 0%, rgba(255,255,255,0.75), transparent 55%);
  opacity: .35;
  pointer-events:none;
}

/* hover elevation */
.price-card:hover{
  transform: translateY(-4px);
  border-color: rgba(13,110,253,0.22);
  box-shadow: var(--shadow-md);
}

.price-card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.price-card__price{
  font-weight: 950;
  font-size: 44px;
  line-height: 1;
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.price{
  font-size: 22px;
  vertical-align: top;
  margin-right: 2px;
  font-weight: 850;
}
.price__small{
  font-size: 14px;
  color: rgba(15,23,42,0.55);
  margin-left: 6px;
  font-weight: 750;
}

.price-chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(2,6,23,0.03);
  color: rgba(15,23,42,0.72);
  font-weight: 900;
  white-space: nowrap;
}
.price-chip--brand{
  border-color: rgba(13,110,253,0.25);
  background: rgba(13,110,253,0.10);
  color: rgba(13,110,253,1);
}

.price-list{
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  color: rgba(15,23,42,0.82);
}
.price-list li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(15,23,42,0.12);
}
.price-list li:last-child{ border-bottom: 0; }
.price-list i{
  margin-top: 2px;
  color: rgba(13,110,253,1);
}
.price-list .muted{ color: rgba(15,23,42,0.45); }
.price-list .muted i{ color: rgba(15,23,42,0.35); }

.price-note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(15,23,42,0.55);
}

.price-card .btn{
  border-radius: 12px;
  padding: 10px 12px;
}

/* Featured PRO */
.price-card--featured{
  border-color: rgba(13,110,253,0.35);
  box-shadow: 0 22px 70px rgba(13,110,253,0.14);
  transform: translateY(-6px);
}
.price-card--featured:hover{
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(13,110,253,0.18);
}
.price-card--featured::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 6px;
  background: linear-gradient(180deg, rgba(13,110,253,1), rgba(111,66,193,1));
  box-shadow: 0 0 18px rgba(13,110,253,0.35);
}

/* Shine sutil (solo hover, queda pro) */
.price-card--featured .shine{
  display:none;
}
.price-card--featured:hover .shine{
  display:block;
}
.price-card--featured .shine{
  position:absolute;
  top:-40%;
  left:-20%;
  width: 60%;
  height: 180%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  opacity: .35;
  pointer-events:none;
  animation: shine-move 1.1s ease forwards;
}
@keyframes shine-move{
  from{ transform: translateX(-30%) rotate(18deg); }
  to{ transform: translateX(220%) rotate(18deg); }
}

/* Badge perfecto (NO se parte) */
.price-badge{
  position: absolute;
  top: 12px;
  right: 12px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  line-height: 1;
  font-weight: 950;

  white-space: nowrap;

  background: rgba(13,110,253,0.12);
  border: 1px solid rgba(13,110,253,0.22);
  color: rgba(13,110,253,1);
}

/* Mobile: bordes claros + aire */
@media (max-width: 768px){
  #planes{ padding-left: 6px; padding-right: 6px; }
  .price-card{
    border-color: rgba(15,23,42,0.18);
    box-shadow: 0 14px 40px rgba(2,6,23,0.12);
    margin-bottom: 18px;
  }
  .price-card--featured{ transform: translateY(-2px); }
  .price-card:active{ transform: scale(0.99); }
}

/* =========================================================
   Reveal animation
========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 576px){
  .trust-strip{ grid-template-columns: 1fr; }
  .sticky-cta{
    left: 16px;
    right: 16px;
    justify-content: space-between;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; }
  .price-card, .price-card:hover{ transition:none; transform:none; }
  .price-card--featured .shine{ animation: none; }
}

/* =========================================================
   AUTO DARK MODE (for white sections)
   If user prefers dark, keep UI crisp
========================================================= */
@media (prefers-color-scheme: dark){

  :root{
    --bg-soft: #0b1220;
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.70);
    --border: rgba(255,255,255,0.12);
  }

  body{ background: #0b1220; }

  .landing-section{
    background: #0b1220;
    color: rgba(255,255,255,0.92);
  }

  .feature-card, .step-card, .quote-card, .cta-card,
  .lead-card, .ba-card, .testi-card,
  .price-card{
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 16px 55px rgba(0,0,0,0.35);
  }

  .price-card::after{
    opacity: .18;
  }

  .price-list{
    color: rgba(255,255,255,0.80);
  }

  .price__small, .price-note{
    color: rgba(255,255,255,0.65);
  }

  .ads-slot{
    border-color: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.70);
    background: rgba(255,255,255,0.06);
  }
}
/* ===== Pricing compare ===== */
.pricing-compare{
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(2,6,23,0.06);
  padding: 18px;
}

.table-compare{
  margin: 0;
}
.table-compare thead th{
  font-size: 13px;
  color: rgba(15,23,42,0.65);
  border-bottom: 1px solid rgba(15,23,42,0.10);
}
.table-compare td{
  border-bottom: 1px dashed rgba(15,23,42,0.10);
  padding: 12px 10px;
  color: rgba(15,23,42,0.85);
}
.table-compare tbody tr:last-child td{
  border-bottom: 0;
}

.table-compare i.bi-check2{
  color: rgba(13,110,253,1);
  font-size: 18px;
}
.table-compare i.bi-dash{
  color: rgba(15,23,42,0.35);
  font-size: 18px;
}

/* Highlight Pro column */
.th-featured, .td-featured{
  background: rgba(13,110,253,0.06);
}
.th-featured{
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.table-compare tbody tr:last-child .td-featured{
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Compare CTA */
.compare-cta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(2,6,23,0.02);
  border: 1px solid rgba(15,23,42,0.08);
}

/* Honest box */
.honest-box{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.10);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(13,110,253,0.08), transparent 60%),
    radial-gradient(700px 240px at 90% 10%, rgba(111,66,193,0.08), transparent 60%),
    #fff;
  box-shadow: 0 12px 40px rgba(2,6,23,0.06);
}
.honest-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(13,110,253,0.10);
  color: rgba(13,110,253,1);
  font-size: 18px;
}

@media (max-width: 576px){
  .compare-cta{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== Lead inline (sin popup) ===== */
.lead-inline{
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.10);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(13,110,253,.08), transparent 60%),
    radial-gradient(700px 240px at 90% 10%, rgba(111,66,193,.08), transparent 60%),
    #fff;
  box-shadow: 0 14px 50px rgba(2,6,23,0.08);
  padding: 22px;
}

.lead-inline__card{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 40px rgba(2,6,23,0.06);
  padding: 18px;
}

.lead-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(2,6,23,0.02);
  color: rgba(15,23,42,0.75);
  font-size: 13px;
  font-weight: 700;
}

.lead-inline .form-control,
.lead-inline .form-select{
  border-radius: 14px;
}

.lead-inline .btn{
  border-radius: 14px;
}

/* Mobile: más aire */
@media (max-width: 576px){
  .lead-inline{ padding: 16px; }
  .lead-inline__card{ padding: 14px; }
}
 .page-content h1,
    .page-content h2,
    .page-content h3,
    .page-content h4,
    .page-content h5,
    .page-content h6 {
        margin-top: 1.25rem;
        margin-bottom: .75rem;
        font-weight: 700;
    }

    .page-content p {
        margin-bottom: 1rem;
        line-height: 1.75;
    }

    .page-content ul,
    .page-content ol {
        padding-left: 1.25rem;
        margin-bottom: 1rem;
    }

    .page-content li {
        margin-bottom: .5rem;
    }

    .page-content a {
        text-decoration: underline;
    }

    .page-content blockquote {
        border-left: 4px solid #dee2e6;
        padding-left: 1rem;
        color: #6c757d;
        margin: 1rem 0;
    }
.article-content h2,
.article-content h3 {
    scroll-margin-top: 100px;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}
 .pagination-clean nav {
        display: flex;
        justify-content: flex-start;
    }

    .pagination-clean .pagination {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        margin: 0;
        padding: 0;
        list-style: none;
        align-items: center;
    }

    .pagination-clean .page-item {
        margin: 0;
    }

    .pagination-clean .page-link,
    .pagination-clean span[aria-current="page"] > span,
    .pagination-clean span[aria-disabled="true"] > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: .5rem .85rem;
        border-radius: 12px;
        border: 1px solid #dbe3ef;
        background: #fff;
        color: #0f172a;
        font-size: 14px !important;
        font-weight: 600;
        line-height: 1 !important;
        text-decoration: none;
        box-shadow: none !important;
        transform: none !important;
    }

    .pagination-clean .page-link:hover {
        background: #f8fafc;
        color: #0d6efd;
        border-color: #bfd7ff;
    }

    .pagination-clean .active .page-link,
    .pagination-clean span[aria-current="page"] > span {
        background: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
    }

    .pagination-clean .disabled .page-link,
    .pagination-clean span[aria-disabled="true"] > span {
        color: #94a3b8;
        background: #f8fafc;
        border-color: #e2e8f0;
        opacity: 1;
    }

    .pagination-clean svg,
    .pagination-clean i,
    .pagination-clean .page-link::before,
    .pagination-clean .page-link::after,
    .pagination-clean span::before,
    .pagination-clean span::after {
        width: 14px !important;
        height: 14px !important;
        font-size: 14px !important;
        transform: none !important;
    }
