/* ============================================================
   LANDING ONCLICKSTORE (Home/Index)
   Un solo acento: el azul de la marca.
   ============================================================ */
:root {
    --brand: #1E88E5;
    --brand-hover: #1565C0;
    --brand-soft: #EFF6FF;
    --text: #111827;
    --muted: #6B7280;
    --border: #E5E7EB;
    --bg-soft: #F9FAFB;
    --radius: 14px;
    --shadow-md: 0 10px 30px rgba(17, 24, 39, .08);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, .14);
}

body.landing {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: #fff;
}
.landing a { text-decoration: none; }

/* ----- Botones ----- */
.l-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    cursor: pointer;
}
.l-btn:hover { transform: translateY(-1px); }
.l-btn-primary { background: var(--brand); color: #fff; }
.l-btn-primary:hover { background: var(--brand-hover); color: #fff; }
.l-btn-outline { background: #fff; color: var(--text); border-color: #D1D5DB; }
.l-btn-outline:hover { border-color: var(--text); color: var(--text); }
.l-btn-ghost { background: transparent; color: var(--text); padding: 10px 14px; }
.l-btn-ghost:hover { color: var(--brand); }
.l-btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.l-btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ----- Navbar ----- */
.l-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.l-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.l-logo { display: flex; align-items: center; }
.l-logo img { height: 46px; width: auto; }
.l-nav-links { display: flex; align-items: center; gap: 28px; }
.l-nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.l-nav-links a:hover { color: var(--text); }
.l-nav-actions { display: flex; align-items: center; gap: 8px; }

/* ----- Secciones ----- */
.l-section { padding: 96px 0; }
.l-section-soft { background: var(--bg-soft); }
.l-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.l-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}
.l-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; }
.l-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ----- Hero ----- */
.l-hero {
    padding: 72px 0 88px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(30, 136, 229, .10), transparent 60%),
        linear-gradient(#fff, var(--bg-soft));
    overflow: hidden;
}
.l-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-soft);
    color: var(--brand-hover);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.l-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
    margin-bottom: 20px;
}
.l-hero h1 span { color: var(--brand); }
.l-hero-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.7; max-width: 520px; margin-bottom: 30px; }
.l-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.l-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; }
.l-checks li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #374151; }
.l-checks i { color: var(--brand); }
.l-hero-login { margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.l-hero-login a { color: var(--brand); font-weight: 600; }

/* Maqueta de navegador con la tienda demo */
.l-browser {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform .4s ease;
}
.l-browser:hover { transform: none; }
.l-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}
.l-dot { width: 10px; height: 10px; border-radius: 50%; background: #E5E7EB; }
.l-url {
    flex: 1;
    margin-left: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--muted);
    padding: 4px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.l-shop-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.l-shop-head img { height: 34px; width: auto; object-fit: contain; }
.l-shop-head strong { font-size: 0.95rem; }
.l-shop-head i { color: var(--muted); }
.l-shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px 18px 20px; }
.l-shop-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.l-shop-card .img { height: 130px; background: var(--bg-soft); }
.l-shop-card img { width: 100%; height: 100%; object-fit: contain; }
.l-shop-card .info { padding: 8px 10px 10px; }
.l-shop-card .name { font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-shop-card .price { font-size: 0.82rem; font-weight: 700; }
.l-shop-placeholder { height: 130px; background: linear-gradient(135deg, var(--bg-soft), #EEF2F7); }

/* ----- Pasos ----- */
.l-step { text-align: center; padding: 8px 18px; }
.l-step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 18px;
}
.l-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.l-step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* ----- Video + demo ----- */
.l-video {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: #000;
}
.l-video video { width: 100%; display: block; }
.l-demo-list { list-style: none; padding: 0; margin: 0 0 28px; }
.l-demo-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #374151; }
.l-demo-list i { color: var(--brand); margin-top: 4px; }

/* ----- Características ----- */
.l-feature {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.l-feature:hover { border-color: #BFDBFE; box-shadow: var(--shadow-md); }
.l-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}
.l-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.l-feature p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin: 0; }

/* ----- Negocios ----- */
.l-store {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow .2s ease, transform .2s ease;
}
.l-store:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.l-store-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.l-store-logo img { max-height: 80px; max-width: 100%; object-fit: contain; }
.l-store-logo .fallback {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.l-store h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.l-store-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* ----- Planes ----- */
.l-plan {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
}
.l-plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.l-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.l-plan-name { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.l-plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 4px; }
.l-plan-price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.l-plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.l-plan li { display: flex; gap: 10px; align-items: center; font-size: 0.93rem; color: #374151; margin-bottom: 12px; }
.l-plan li i { color: var(--brand); font-size: 0.85rem; }
.l-plan .l-btn { width: 100%; }
.l-plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 28px; }

/* ----- CTA final ----- */
.l-cta {
    background: var(--brand);
    border-radius: 24px;
    padding: 64px 32px;
    text-align: center;
    color: #fff;
}
.l-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.l-cta p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; margin-bottom: 30px; }
.l-cta .l-btn { background: #fff; color: var(--brand-hover); }
.l-cta .l-btn:hover { background: var(--brand-soft); }
.l-cta small { display: block; margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 0.88rem; }

/* ----- Footer ----- */
.l-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 96px; }
.l-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.l-footer .l-logo img { height: 38px; }
.l-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.l-footer-links a { color: var(--muted); font-size: 0.88rem; }
.l-footer-links a:hover { color: var(--text); }
.l-footer-copy { width: 100%; color: #9CA3AF; font-size: 0.8rem; }

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
    .l-nav-links { display: none; }
    .l-section { padding: 72px 0; }
    .l-hero { padding: 48px 0 64px; }
    .l-browser { transform: none; margin-top: 48px; }
}
@media (max-width: 575.98px) {
    .l-nav-actions .l-btn-ghost { padding: 8px 10px; font-size: 0.82rem; }
    .l-hero-actions .l-btn { width: 100%; }
    .l-shop-card .img, .l-shop-placeholder { height: 100px; }
    .l-cta { padding: 48px 22px; border-radius: 18px; }
    .l-footer { margin-top: 64px; }
}
.l-feature p a { color: var(--brand); font-weight: 600; }
.l-feature p a:hover { color: var(--brand-hover); }
