/* ==========================================================================
   SELLARIS ERP — LANDING (Home pública)
   Sistema de diseño propio. Prefijo: lx-
   ========================================================================== */

@property --lx-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --lx-bg: #04060d;
    --lx-bg-2: #070b16;
    --lx-surface: rgba(13, 19, 36, 0.62);
    --lx-surface-2: rgba(18, 26, 48, 0.72);
    --lx-line: rgba(148, 163, 184, 0.12);
    --lx-line-2: rgba(148, 163, 184, 0.2);
    --lx-text: #e7ecf5;
    --lx-muted: #8c97ad;
    --lx-dim: #5b6680;
    --lx-cyan: #22d3ee;
    --lx-sky: #38bdf8;
    --lx-blue: #3b82f6;
    --lx-violet: #8b5cf6;
    --lx-emerald: #34d399;
    --lx-amber: #fbbf24;
    --lx-rose: #fb7185;
    --lx-grad: linear-gradient(120deg, #67e8f9 0%, #38bdf8 35%, #3b82f6 70%, #8b5cf6 100%);
    --lx-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --lx-radius: 22px;
}

.lx {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--lx-text);
    position: relative;
    isolation: isolate;
}

.lx-display { font-family: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif; letter-spacing: -0.035em; }
.lx-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---------- Atmósfera global ---------- */
.lx-noise {
    position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.035; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lx-grid-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: -1;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

.lx-aurora {
    position: absolute; inset: -20% -10% auto -10%; height: 900px; z-index: -2; pointer-events: none;
    filter: blur(90px); opacity: 0.75;
}
.lx-aurora span {
    position: absolute; border-radius: 50%; mix-blend-mode: screen;
    animation: lxDrift 22s var(--lx-ease) infinite alternate;
}
.lx-aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 8%; top: 0; background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 65%); }
.lx-aurora span:nth-child(2) { width: 40vw; height: 40vw; right: 6%; top: 8%; background: radial-gradient(circle, rgba(139, 92, 246, 0.38), transparent 65%); animation-duration: 26s; animation-direction: alternate-reverse; }
.lx-aurora span:nth-child(3) { width: 34vw; height: 34vw; left: 38%; top: 30%; background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 65%); animation-duration: 30s; }

@keyframes lxDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(5vw, -3vw, 0) scale(1.12); }
    100% { transform: translate3d(-4vw, 3vw, 0) scale(0.94); }
}

/* ---------- Layout ---------- */
.lx-section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.lx-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.lx-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--lx-line-2), transparent); }

/* ---------- Tipografía ---------- */
.lx-eyebrow {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7); border: 1px solid var(--lx-line-2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lx-eyebrow-tag {
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px; color: #04060d; background: var(--lx-grad);
}
.lx-kicker {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-cyan);
}
.lx-kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.7; }

.lx-h1 {
    font-size: clamp(42px, 7.2vw, 92px); line-height: 0.98; font-weight: 800; color: #fff;
}
.lx-h2 {
    font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; font-weight: 800; color: #fff;
}
.lx-h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.lx-lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; color: var(--lx-muted); }

.lx-grad-text {
    background: var(--lx-grad); background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: lxShine 8s linear infinite;
}
@keyframes lxShine { to { background-position: -200% 0; } }

.lx-fade-text {
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.55));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Palabra rotativa */
.lx-rotator { display: inline-grid; vertical-align: bottom; }
.lx-rotator > span {
    grid-area: 1 / 1; color: #fff; font-weight: 700; opacity: 0; transform: translateY(60%); filter: blur(6px);
    transition: opacity 0.6s var(--lx-ease), transform 0.6s var(--lx-ease), filter 0.6s var(--lx-ease);
    white-space: nowrap;
}
.lx-rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.lx-rotator > span.is-leaving { opacity: 0; transform: translateY(-60%); filter: blur(6px); }

/* ---------- Botones ---------- */
.lx-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 26px; border-radius: 16px; font-weight: 700; font-size: 15px;
    transition: transform 0.35s var(--lx-ease), box-shadow 0.35s var(--lx-ease), background 0.3s, border-color 0.3s;
    overflow: hidden; white-space: nowrap; will-change: transform;
}
.lx-btn i, .lx-btn svg { width: 18px; height: 18px; }
.lx-btn-primary {
    color: #03121a; background: linear-gradient(120deg, #67e8f9, #38bdf8 45%, #60a5fa);
    box-shadow: 0 10px 40px -10px rgba(56, 189, 248, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.lx-btn-primary::after {
    content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: skewX(-20deg); animation: lxSweep 4.5s ease-in-out infinite;
}
@keyframes lxSweep { 0%, 60% { left: -120%; } 100% { left: 160%; } }
.lx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(56, 189, 248, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.lx-btn-ghost {
    color: #e2e8f0; background: rgba(15, 23, 42, 0.55); border: 1px solid var(--lx-line-2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lx-btn-ghost:hover { border-color: rgba(103, 232, 249, 0.45); background: rgba(30, 41, 59, 0.6); transform: translateY(-2px); }
.lx-btn-sm { height: 44px; padding: 0 18px; border-radius: 12px; font-size: 13.5px; }

/* ---------- Superficies ---------- */
.lx-card {
    position: relative; border-radius: var(--lx-radius); background: var(--lx-surface);
    border: 1px solid var(--lx-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.4s, transform 0.5s var(--lx-ease), box-shadow 0.5s var(--lx-ease);
}
.lx-card-hi { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -40px rgba(0, 0, 0, 0.9); }

/* Spotlight que sigue al mouse */
.lx-spot { --mx: 50%; --my: 50%; overflow: hidden; }
.lx-spot::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(520px circle at var(--mx) var(--my), rgba(56, 189, 248, 0.13), transparent 45%);
    transition: opacity 0.4s;
}
.lx-spot::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; padding: 1px;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(103, 232, 249, 0.55), transparent 50%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity 0.4s;
}
.lx-spot:hover::before, .lx-spot:hover::after { opacity: 1; }
.lx-spot:hover { transform: translateY(-4px); }

/* Borde con haz de luz giratorio */
.lx-beam { position: relative; }
.lx-beam::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
    background: conic-gradient(from var(--lx-angle), transparent 0 70%, #67e8f9 80%, #8b5cf6 88%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: lxSpin 5s linear infinite;
}
@keyframes lxSpin { to { --lx-angle: 360deg; } }

.lx-icon-tile {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(103, 232, 249, 0.25); color: #a5f3fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px -12px rgba(34, 211, 238, 0.5);
}
.lx-icon-tile i, .lx-icon-tile svg { width: 21px; height: 21px; }
.lx-icon-tile.is-emerald { background: linear-gradient(145deg, rgba(52, 211, 153, 0.2), rgba(16, 185, 129, 0.06)); border-color: rgba(52, 211, 153, 0.3); color: #a7f3d0; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -12px rgba(52,211,153,.5); }
.lx-icon-tile.is-amber { background: linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.06)); border-color: rgba(251, 191, 36, 0.3); color: #fde68a; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -12px rgba(251,191,36,.45); }
.lx-icon-tile.is-violet { background: linear-gradient(145deg, rgba(139, 92, 246, 0.24), rgba(99, 102, 241, 0.06)); border-color: rgba(167, 139, 250, 0.32); color: #ddd6fe; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -12px rgba(139,92,246,.5); }
.lx-icon-tile.is-rose { background: linear-gradient(145deg, rgba(251, 113, 133, 0.2), rgba(244, 63, 94, 0.06)); border-color: rgba(251, 113, 133, 0.3); color: #fecdd3; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -12px rgba(251,113,133,.45); }

.lx-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 600; color: #cbd5e1; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--lx-line);
}
.lx-chip i, .lx-chip svg { width: 14px; height: 14px; color: var(--lx-cyan); }

.lx-dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--lx-emerald); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: lxPing 2s infinite; }
@keyframes lxPing { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- Reveal on scroll ---------- */
.lx-reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--lx-ease), transform 0.9s var(--lx-ease), filter 0.9s var(--lx-ease); }
.lx-reveal.is-in { opacity: 1; transform: none; filter: none; }
.lx-d1 { transition-delay: 0.08s; } .lx-d2 { transition-delay: 0.16s; } .lx-d3 { transition-delay: 0.24s; } .lx-d4 { transition-delay: 0.32s; } .lx-d5 { transition-delay: 0.4s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.lx-hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 40px; overflow: hidden; }
.lx-hero-sub { max-width: 640px; }
.lx-hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; font-size: 13px; color: var(--lx-muted); }
.lx-hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.lx-hero-trust i, .lx-hero-trust svg { width: 16px; height: 16px; color: var(--lx-emerald); }

/* Escenario 3D del mockup */
.lx-stage { position: relative; perspective: 1800px; margin-top: 64px; }
.lx-stage-glow {
    position: absolute; left: 10%; right: 10%; top: 12%; bottom: -6%; z-index: -1; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.35), rgba(139, 92, 246, 0.18) 45%, transparent 70%);
    filter: blur(60px);
}
.lx-tilt { transform-style: preserve-3d; transform: rotateX(14deg) scale(0.97); transition: transform 0.9s var(--lx-ease); will-change: transform; }

.lx-window {
    border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(12, 18, 34, 0.96), rgba(6, 10, 22, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 50px 120px -30px rgba(0, 0, 0, 0.95), 0 0 80px -30px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.lx-window-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--lx-line); background: rgba(15, 23, 42, 0.6); }
.lx-window-dots { display: flex; gap: 7px; }
.lx-window-dots span { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.lx-window-dots span:nth-child(1) { background: #f87171; } .lx-window-dots span:nth-child(2) { background: #fbbf24; } .lx-window-dots span:nth-child(3) { background: #34d399; }
.lx-window-url { flex: 1; max-width: 360px; margin: 0 auto; height: 26px; border-radius: 8px; background: rgba(2, 6, 23, 0.7); border: 1px solid var(--lx-line); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--lx-muted); }
.lx-window-url i, .lx-window-url svg { width: 12px; height: 12px; color: var(--lx-emerald); }

.lx-app { display: grid; grid-template-columns: 200px 1fr 300px; min-height: 470px; }
.lx-app-side { border-right: 1px solid var(--lx-line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; background: rgba(2, 6, 23, 0.35); }
.lx-app-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 14px; font-weight: 700; font-size: 14px; color: #fff; }
.lx-app-brand img { width: 24px; height: 24px; object-fit: contain; }
.lx-app-nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 12.5px; color: var(--lx-muted); }
.lx-app-nav i, .lx-app-nav svg { width: 15px; height: 15px; }
.lx-app-nav.is-on { color: #fff; background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0.02)); box-shadow: inset 2px 0 0 var(--lx-cyan); }
.lx-app-nav .lx-badge { margin-left: auto; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: rgba(52, 211, 153, 0.15); color: var(--lx-emerald); }

.lx-app-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lx-app-head { display: flex; align-items: center; justify-content: space-between; }
.lx-app-head h4 { font-size: 15px; font-weight: 700; color: #fff; }
.lx-app-head p { font-size: 11.5px; color: var(--lx-muted); }
.lx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lx-kpi { padding: 12px; border-radius: 14px; background: rgba(15, 23, 42, 0.7); border: 1px solid var(--lx-line); min-width: 0; }
.lx-kpi small { display: block; font-size: 10.5px; color: var(--lx-muted); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-kpi strong { display: block; font-size: 17px; color: #fff; font-weight: 700; white-space: nowrap; }
.lx-kpi em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--lx-emerald); }
.lx-kpi.is-bump strong { animation: lxBump 0.6s var(--lx-ease); }
@keyframes lxBump { 0% { color: #67e8f9; transform: translateY(-2px); } 100% { color: #fff; transform: none; } }

.lx-chart { position: relative; flex: 1; min-height: 180px; border-radius: 14px; background: rgba(15, 23, 42, 0.55); border: 1px solid var(--lx-line); padding: 14px; overflow: hidden; }
.lx-chart-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--lx-muted); }
.lx-chart-top b { color: #fff; font-weight: 700; }
.lx-chart svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 75%; }
.lx-chart-line { fill: none; stroke: url(#lxLineGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: lxDraw 2.6s var(--lx-ease) 0.5s forwards; }
.lx-chart-area { fill: url(#lxAreaGrad); opacity: 0; animation: lxFadeIn 1.4s ease 1.6s forwards; }
@keyframes lxDraw { to { stroke-dashoffset: 0; } }
@keyframes lxFadeIn { to { opacity: 1; } }

.lx-app-feed { border-left: 1px solid var(--lx-line); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: rgba(2, 6, 23, 0.3); overflow: hidden; }
.lx-feed-title { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: #fff; }
.lx-feed-title span { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 600; color: var(--lx-emerald); }
.lx-feed-list { display: flex; flex-direction: column; gap: 8px; }
.lx-feed-item {
    display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(15, 23, 42, 0.75); border: 1px solid var(--lx-line);
    animation: lxSlideIn 0.6s var(--lx-ease);
}
.lx-feed-item .lx-fi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.lx-feed-item .lx-fi i, .lx-feed-item .lx-fi svg { width: 15px; height: 15px; }
.lx-feed-item .lx-fi.c { background: rgba(34, 211, 238, 0.14); color: #67e8f9; }
.lx-feed-item .lx-fi.e { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.lx-feed-item .lx-fi.a { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.lx-feed-item .lx-fi.v { background: rgba(139, 92, 246, 0.16); color: #c4b5fd; }
.lx-feed-item div { min-width: 0; flex: 1; }
.lx-feed-item b { display: block; font-size: 11.5px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-feed-item small { display: block; font-size: 10.5px; color: var(--lx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-feed-item .lx-amt { font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; }
@keyframes lxSlideIn { from { opacity: 0; transform: translateY(-14px) scale(0.97); } to { opacity: 1; transform: none; } }

/* Tarjetas flotantes del hero */
.lx-float {
    position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
    background: rgba(10, 16, 32, 0.82); border: 1px solid rgba(148, 163, 184, 0.22);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: lxBob 7s ease-in-out infinite;
}
.lx-float b { display: block; font-size: 13px; color: #fff; font-weight: 700; white-space: nowrap; }
.lx-float small { display: block; font-size: 11.5px; color: var(--lx-muted); white-space: nowrap; }
.lx-float .lx-icon-tile { width: 38px; height: 38px; border-radius: 11px; }
.lx-float .lx-icon-tile i, .lx-float .lx-icon-tile svg { width: 18px; height: 18px; }
.lx-float-1 { left: -3%; top: 18%; }
.lx-float-2 { right: -3%; top: 8%; animation-delay: -2s; }
.lx-float-3 { left: 4%; bottom: -5%; animation-delay: -4s; }
.lx-float-4 { right: 2%; bottom: 6%; animation-delay: -1s; }
@keyframes lxBob { 0%, 100% { transform: translate3d(0, 0, 60px); } 50% { transform: translate3d(0, -12px, 60px); } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.lx-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lx-marquee-track { display: flex; gap: 14px; width: max-content; animation: lxMarquee 38s linear infinite; }
.lx-marquee:hover .lx-marquee-track { animation-play-state: paused; }
.lx-marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; font-size: 14px; font-weight: 600; color: #cbd5e1; background: rgba(15, 23, 42, 0.5); border: 1px solid var(--lx-line); white-space: nowrap; }
.lx-marquee-item i, .lx-marquee-item svg { width: 18px; height: 18px; color: var(--lx-cyan); }
@keyframes lxMarquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   STATS
   ========================================================================== */
.lx-stats { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 24px; overflow: hidden; border: 1px solid var(--lx-line); background: var(--lx-line); gap: 1px; }
.lx-stat { padding: 30px 22px; background: rgba(7, 11, 22, 0.92); text-align: center; position: relative; }
.lx-stat strong { display: block; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 800; }
.lx-stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--lx-muted); line-height: 1.45; }

/* ==========================================================================
   FLIP CARDS (dolores → solución)
   ========================================================================== */
.lx-flip { perspective: 1200px; height: 250px; cursor: pointer; }
.lx-flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s var(--lx-ease); }
.lx-flip:hover .lx-flip-inner, .lx-flip.is-flipped .lx-flip-inner { transform: rotateY(180deg); }
.lx-flip-face { position: absolute; inset: 0; border-radius: var(--lx-radius); padding: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; border: 1px solid var(--lx-line); }
.lx-flip-front { background: linear-gradient(160deg, rgba(40, 15, 25, 0.55), rgba(10, 12, 22, 0.9)); }
.lx-flip-back { transform: rotateY(180deg); background: linear-gradient(160deg, rgba(8, 47, 73, 0.75), rgba(10, 16, 34, 0.95)); border-color: rgba(103, 232, 249, 0.3); box-shadow: 0 0 60px -20px rgba(34, 211, 238, 0.45); }
.lx-flip-face h4 { margin-top: auto; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.25; }
.lx-flip-face p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--lx-muted); }
.lx-flip-back p { color: #bae6fd; }
.lx-flip-hint { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 600; color: var(--lx-dim); display: inline-flex; align-items: center; gap: 6px; }
.lx-flip-hint i, .lx-flip-hint svg { width: 13px; height: 13px; }

/* ==========================================================================
   RUBROS (tabs)
   ========================================================================== */
.lx-tabs { display: inline-flex; padding: 6px; gap: 4px; border-radius: 18px; background: rgba(15, 23, 42, 0.7); border: 1px solid var(--lx-line); position: relative; flex-wrap: wrap; justify-content: center; }
.lx-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 13px; font-size: 14px; font-weight: 600; color: var(--lx-muted); transition: color 0.3s; }
.lx-tab i, .lx-tab svg { width: 17px; height: 17px; }
.lx-tab:hover { color: #fff; }
.lx-tab.is-on { color: #03121a; background: linear-gradient(120deg, #67e8f9, #60a5fa); box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.7); }

.lx-panel { display: none; }
.lx-panel.is-on { display: grid; animation: lxPanelIn 0.7s var(--lx-ease); }
@keyframes lxPanelIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.lx-rubro-img { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; border: 1px solid var(--lx-line-2); }
.lx-rubro-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--lx-ease); }
.lx-panel.is-on .lx-rubro-img img { transform: scale(1); }
.lx-rubro-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 6, 13, 0.05) 30%, rgba(4, 6, 13, 0.92)); }
.lx-rubro-badge { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; }
.lx-rubro-metric { flex: 1; min-width: 130px; padding: 14px 16px; border-radius: 16px; background: rgba(4, 6, 13, 0.65); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lx-rubro-metric strong { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.lx-rubro-metric span { font-size: 12px; color: var(--lx-muted); }

.lx-check-list { display: grid; gap: 14px; }
.lx-check-list li { display: flex; gap: 14px; align-items: flex-start; }
.lx-check-list .lx-ck { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: rgba(52, 211, 153, 0.14); color: var(--lx-emerald); border: 1px solid rgba(52, 211, 153, 0.25); margin-top: 1px; }
.lx-check-list .lx-ck i, .lx-check-list .lx-ck svg { width: 15px; height: 15px; }
.lx-check-list b { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.lx-check-list span { font-size: 14px; color: var(--lx-muted); line-height: 1.55; }

/* ==========================================================================
   BENTO
   ========================================================================== */
.lx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lx-bento > * { padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.lx-b-2 { grid-column: span 2; } .lx-b-3 { grid-column: span 3; } .lx-b-4 { grid-column: span 4; }
.lx-bento p { font-size: 14px; line-height: 1.6; color: var(--lx-muted); }
.lx-bento .lx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.lx-tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 8px; color: #a5b4fc; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(129, 140, 248, 0.2); }

/* Mini visual: ticket fiscal */
.lx-mini-ticket { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(2, 6, 23, 0.7); border: 1px dashed rgba(148, 163, 184, 0.25); font-size: 12px; color: var(--lx-muted); display: grid; gap: 6px; }
.lx-mini-ticket div { display: flex; justify-content: space-between; }
.lx-mini-ticket b { color: #fff; }
.lx-mini-ticket .ok { color: var(--lx-emerald); font-weight: 700; }

/* Mini visual: barras de stock */
.lx-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.lx-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #67e8f9, rgba(59, 130, 246, 0.35)); transform-origin: bottom; transform: scaleY(0.15); transition: transform 1.2s var(--lx-ease); }
.lx-bars span.low { background: linear-gradient(180deg, #fb7185, rgba(244, 63, 94, 0.3)); }
.is-in .lx-bars span { transform: scaleY(1); }

/* ==========================================================================
   DISTRIBUCIÓN — flujo + teléfono
   ========================================================================== */
.lx-flow { display: grid; gap: 10px; }
.lx-step {
    position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 18px 18px 16px; border-radius: 18px; text-align: left; width: 100%;
    border: 1px solid transparent; transition: background 0.4s, border-color 0.4s;
}
.lx-step:hover { background: rgba(15, 23, 42, 0.5); }
.lx-step.is-on { background: rgba(15, 23, 42, 0.8); border-color: rgba(103, 232, 249, 0.28); box-shadow: 0 20px 50px -30px rgba(34, 211, 238, 0.6); }
.lx-step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 14px; color: var(--lx-muted); background: rgba(15, 23, 42, 0.8); border: 1px solid var(--lx-line-2); transition: all 0.4s; }
.lx-step.is-on .lx-step-num { color: #03121a; background: linear-gradient(135deg, #67e8f9, #60a5fa); border-color: transparent; box-shadow: 0 8px 24px -8px rgba(56, 189, 248, 0.8); }
.lx-step b { display: block; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.lx-step span { display: block; font-size: 13.5px; color: var(--lx-muted); line-height: 1.5; margin-top: 3px; }
.lx-step-bar { position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px; border-radius: 2px; background: rgba(148, 163, 184, 0.1); overflow: hidden; opacity: 0; }
.lx-step.is-on .lx-step-bar { opacity: 1; }
.lx-step-bar i { display: block; height: 100%; width: 0; background: var(--lx-grad); }
.lx-step.is-on .lx-step-bar i { animation: lxProgress var(--lx-step-ms, 5200ms) linear forwards; }
@keyframes lxProgress { to { width: 100%; } }

.lx-phone-wrap { position: relative; display: flex; justify-content: center; }
.lx-phone-wrap::before { content: ''; position: absolute; width: 80%; height: 70%; top: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.35), rgba(139, 92, 246, 0.2) 50%, transparent 70%); filter: blur(60px); z-index: -1; }
.lx-phone {
    width: 320px; max-width: 100%; height: 640px; border-radius: 48px; padding: 12px; position: relative;
    background: linear-gradient(145deg, #1e293b, #0b1220 40%, #111827);
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.25), 0 60px 120px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.lx-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #060a16; }
.lx-phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; border-radius: 20px; background: #000; z-index: 5; }
.lx-phone-status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 12px; font-weight: 600; color: #fff; height: 44px; }
.lx-screen { position: absolute; inset: 44px 0 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateX(30px) scale(0.98); transition: opacity 0.6s var(--lx-ease), transform 0.6s var(--lx-ease); pointer-events: none; }
.lx-screen.is-on { opacity: 1; transform: none; }
.lx-scr-head { display: flex; align-items: center; justify-content: space-between; }
.lx-scr-head b { font-size: 16px; color: #fff; font-weight: 700; letter-spacing: -0.01em; }
.lx-scr-head small { display: block; font-size: 11px; color: var(--lx-muted); }
.lx-scr-pill { font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: var(--lx-emerald); border: 1px solid rgba(52, 211, 153, 0.25); }
.lx-scr-card { padding: 12px; border-radius: 14px; background: rgba(15, 23, 42, 0.85); border: 1px solid var(--lx-line); }
.lx-scr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--lx-muted); }
.lx-scr-row b { color: #fff; font-weight: 600; }
.lx-scr-row + .lx-scr-row { margin-top: 8px; }
.lx-scr-btn { margin-top: auto; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: #03121a; background: linear-gradient(120deg, #67e8f9, #60a5fa); }
.lx-scr-btn i, .lx-scr-btn svg { width: 16px; height: 16px; }
.lx-scr-btn.is-green { background: linear-gradient(120deg, #6ee7b7, #34d399); }
.lx-map { position: relative; height: 210px; border-radius: 16px; overflow: hidden; border: 1px solid var(--lx-line);
    background:
        radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.15), transparent 40%),
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
        #0a1224; }
.lx-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lx-map-route { fill: none; stroke: #67e8f9; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; animation: lxDash 1.2s linear infinite; }
@keyframes lxDash { to { stroke-dashoffset: -28; } }
.lx-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #34d399; border: 3px solid #04060d; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
.lx-pin.is-pending { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.22); }
.lx-pin.is-me { background: #38bdf8; box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.25); animation: lxPing 2s infinite; }
.lx-sign { height: 110px; border-radius: 14px; background: #f8fafc; position: relative; overflow: hidden; }
.lx-sign svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lx-sign path { fill: none; stroke: #0f172a; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.lx-screen.is-on .lx-sign path { animation: lxDraw 2.2s ease 0.4s forwards; }
.lx-progress { height: 8px; border-radius: 99px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.lx-progress i { display: block; height: 100%; border-radius: 99px; background: var(--lx-grad); }
.lx-podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 150px; }
.lx-podium div { width: 72px; border-radius: 12px 12px 4px 4px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 10px; font-size: 11px; font-weight: 700; color: #03121a; }
.lx-podium .p1 { height: 100%; background: linear-gradient(180deg, #fde68a, #f59e0b); }
.lx-podium .p2 { height: 74%; background: linear-gradient(180deg, #e2e8f0, #94a3b8); }
.lx-podium .p3 { height: 56%; background: linear-gradient(180deg, #fdba74, #c2410c); }

/* ==========================================================================
   IA — escaneo de factura
   ========================================================================== */
.lx-scan-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.lx-invoice { position: relative; border-radius: 18px; padding: 22px; background: #f8fafc; color: #0f172a; overflow: hidden; transform: rotate(-1.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.lx-invoice h5 { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.lx-invoice small { display: block; font-size: 10.5px; color: #64748b; }
.lx-invoice table { width: 100%; margin-top: 14px; font-size: 11px; border-collapse: collapse; }
.lx-invoice th { text-align: left; font-weight: 700; color: #475569; border-bottom: 1px solid #cbd5e1; padding: 6px 0; }
.lx-invoice td { padding: 7px 0; border-bottom: 1px dashed #e2e8f0; color: #1e293b; }
.lx-invoice td:last-child, .lx-invoice th:last-child { text-align: right; }
.lx-invoice-total { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 800; font-size: 13px; }
.lx-laser { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: linear-gradient(90deg, transparent, #22d3ee, #8b5cf6, transparent); box-shadow: 0 0 20px 4px rgba(34, 211, 238, 0.6); opacity: 0; }
.lx-laser.is-run { animation: lxLaser 2.6s var(--lx-ease) forwards; }
.lx-laser-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 211, 238, 0.12), transparent); transform-origin: top; transform: scaleY(0); }
.lx-laser.is-run + .lx-laser-shade { animation: lxShade 2.6s var(--lx-ease) forwards; }
@keyframes lxLaser { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes lxShade { 0% { transform: scaleY(0); opacity: 1; } 90% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.lx-extract { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.lx-extract-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lx-extract-row { display: grid; grid-template-columns: 1fr 50px 90px 90px; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(15, 23, 42, 0.75); border: 1px solid var(--lx-line); font-size: 12.5px; color: #cbd5e1; opacity: 0; transform: translateX(16px); transition: opacity 0.5s var(--lx-ease), transform 0.5s var(--lx-ease); }
.lx-extract-row.is-in { opacity: 1; transform: none; }
.lx-extract-row b { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-extract-row .up { color: var(--lx-emerald); font-weight: 700; text-align: right; }
.lx-extract-row .r { text-align: right; }
.lx-extract-row.is-head { opacity: 1; transform: none; background: transparent; border-color: transparent; font-size: 11px; font-weight: 700; color: var(--lx-dim); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0; padding-bottom: 0; }
.lx-ai-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(139, 92, 246, 0.14); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.3); }
.lx-ai-status.is-done { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.3); }
.lx-ai-status i, .lx-ai-status svg { width: 14px; height: 14px; }

/* ==========================================================================
   POS demo
   ========================================================================== */
.lx-pos { display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; }
.lx-pos-items { padding: 20px; display: flex; flex-direction: column; gap: 8px; min-height: 360px; max-height: 360px; overflow: hidden; border-right: 1px solid var(--lx-line); }
.lx-pos-empty { margin: auto; text-align: center; color: var(--lx-dim); font-size: 13px; }
.lx-pos-empty i, .lx-pos-empty svg { width: 34px; height: 34px; margin: 0 auto 10px; display: block; opacity: 0.6; }
.lx-pos-line { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: rgba(15, 23, 42, 0.75); border: 1px solid var(--lx-line); animation: lxSlideIn 0.45s var(--lx-ease); }
.lx-pos-line .lx-code { font-size: 10.5px; color: var(--lx-dim); }
.lx-pos-line b { flex: 1; font-size: 13px; color: #fff; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-pos-line span { font-size: 13px; font-weight: 700; color: #fff; }
.lx-pos-side { padding: 22px; display: flex; flex-direction: column; gap: 14px; background: rgba(2, 6, 23, 0.4); }
.lx-pos-total small { font-size: 12px; color: var(--lx-muted); }
.lx-pos-total strong { display: block; font-size: 42px; line-height: 1.05; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.lx-pos-meta { display: grid; gap: 8px; font-size: 13px; color: var(--lx-muted); }
.lx-pos-meta div { display: flex; justify-content: space-between; }
.lx-pos-meta b { color: #fff; }
.lx-cae { display: none; padding: 14px; border-radius: 14px; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); font-size: 12.5px; color: #a7f3d0; animation: lxPanelIn 0.6s var(--lx-ease); }
.lx-cae.is-on { display: block; }
.lx-cae b { color: #fff; }
.lx-scanflash { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(103, 232, 249, 0); transition: box-shadow 0.3s; }
.lx-scanflash.is-on { box-shadow: inset 0 0 0 2px rgba(103, 232, 249, 0.7), inset 0 0 60px rgba(34, 211, 238, 0.15); }

/* ==========================================================================
   COMPARATIVA
   ========================================================================== */
.lx-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.lx-compare th, .lx-compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--lx-line); }
.lx-compare th:first-child, .lx-compare td:first-child { text-align: left; color: #cbd5e1; font-weight: 500; }
.lx-compare thead th { font-size: 13px; font-weight: 700; color: var(--lx-muted); }
.lx-compare .is-us { background: linear-gradient(180deg, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.03)); color: #fff; }
.lx-compare thead .is-us { color: #fff; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.lx-compare tbody tr:last-child .is-us { border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.lx-yes, .lx-no, .lx-mid { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.lx-yes { background: rgba(52, 211, 153, 0.15); color: var(--lx-emerald); }
.lx-no { background: rgba(251, 113, 133, 0.1); color: var(--lx-rose); }
.lx-mid { background: rgba(251, 191, 36, 0.12); color: var(--lx-amber); }
.lx-yes i, .lx-no i, .lx-mid i, .lx-yes svg, .lx-no svg, .lx-mid svg { width: 15px; height: 15px; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.lx-switch { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(15, 23, 42, 0.7); border: 1px solid var(--lx-line); font-size: 14px; font-weight: 600; }
.lx-switch-btn { position: relative; width: 58px; height: 32px; border-radius: 999px; background: rgba(148, 163, 184, 0.2); transition: background 0.3s; }
.lx-switch-btn::after { content: ''; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.4s var(--lx-ease); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.lx-switch-btn.is-on { background: linear-gradient(120deg, #22d3ee, #3b82f6); }
.lx-switch-btn.is-on::after { transform: translateX(26px); }
.lx-save { font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 999px; color: #03121a; background: linear-gradient(120deg, #6ee7b7, #34d399); }
.lx-plan { padding: 32px; display: flex; flex-direction: column; gap: 22px; height: 100%; }
.lx-plan.is-pop { background: linear-gradient(180deg, rgba(14, 40, 66, 0.85), rgba(10, 16, 34, 0.92)); border-color: transparent; transform: translateY(-10px); }
.lx-plan-price { display: flex; align-items: baseline; gap: 6px; }
.lx-plan-price strong { font-size: 52px; line-height: 1; font-weight: 800; color: #fff; letter-spacing: -0.04em; transition: opacity 0.25s; }
.lx-plan-price span { font-size: 14px; color: var(--lx-muted); }
.lx-plan ul { display: grid; gap: 12px; font-size: 14px; color: #cbd5e1; }
.lx-plan li { display: flex; gap: 10px; align-items: flex-start; }
.lx-plan li i, .lx-plan li svg { width: 17px; height: 17px; color: var(--lx-cyan); flex-shrink: 0; margin-top: 2px; }
.lx-plan-pop-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; color: #03121a; background: var(--lx-grad); white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.8); }

/* ==========================================================================
   ROI
   ========================================================================== */
.lx-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #22d3ee var(--lx-fill, 50%), rgba(148, 163, 184, 0.18) var(--lx-fill, 50%)); outline: none; }
.lx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid #22d3ee; box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.18), 0 4px 12px rgba(0, 0, 0, 0.5); cursor: grab; }
.lx-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid #22d3ee; box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.18); cursor: grab; }
.lx-roi-field { display: grid; gap: 12px; }
.lx-roi-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: #cbd5e1; font-weight: 500; }
.lx-roi-field label b { font-size: 18px; color: #fff; font-weight: 700; }
.lx-roi-out strong { display: block; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.lx-faq { border-radius: 18px; border: 1px solid var(--lx-line); background: rgba(13, 19, 36, 0.5); transition: border-color 0.3s, background 0.3s; }
.lx-faq[open] { border-color: rgba(103, 232, 249, 0.3); background: rgba(13, 19, 36, 0.85); }
.lx-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 16px; font-weight: 600; color: #fff; }
.lx-faq summary::-webkit-details-marker { display: none; }
.lx-faq summary .lx-plus { position: relative; width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25); transition: transform 0.4s var(--lx-ease); }
.lx-faq summary .lx-plus::before, .lx-faq summary .lx-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #67e8f9; border-radius: 2px; transform: translate(-50%, -50%); }
.lx-faq summary .lx-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--lx-ease); }
.lx-faq[open] summary .lx-plus { transform: rotate(180deg); }
.lx-faq[open] summary .lx-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.lx-faq-body { padding: 0 24px 22px; font-size: 15px; line-height: 1.7; color: var(--lx-muted); }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.lx-cta { position: relative; border-radius: 34px; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); overflow: hidden; text-align: center;
    background: radial-gradient(ellipse at 50% 120%, rgba(56, 189, 248, 0.35), transparent 60%), radial-gradient(ellipse at 0% 0%, rgba(139, 92, 246, 0.25), transparent 50%), linear-gradient(180deg, #0b1428, #060a16);
    border: 1px solid rgba(103, 232, 249, 0.2); }
.lx-cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); pointer-events: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .lx-app { grid-template-columns: 1fr 260px; }
    .lx-app-side { display: none; }
    .lx-float-1, .lx-float-3 { left: -1%; }
    .lx-float-2, .lx-float-4 { right: -1%; }
    .lx-bento { grid-template-columns: repeat(2, 1fr); }
    .lx-b-2, .lx-b-3, .lx-b-4 { grid-column: span 1; }
    .lx-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .lx-app { grid-template-columns: 1fr; }
    .lx-app-feed { display: none; }
    .lx-kpis { grid-template-columns: repeat(2, 1fr); }
    .lx-float { display: none; }
    .lx-tilt { transform: none !important; }
    .lx-scan-grid, .lx-pos { grid-template-columns: 1fr; }
    .lx-pos-items { border-right: 0; border-bottom: 1px solid var(--lx-line); min-height: 260px; max-height: 260px; }
    .lx-plan.is-pop { transform: none; }
    .lx-stats { grid-template-columns: repeat(2, 1fr); }
    .lx-stat:last-child { grid-column: span 2; }
    .lx-compare { font-size: 12.5px; }
    .lx-compare th, .lx-compare td { padding: 12px 10px; }
}
@media (max-width: 640px) {
    .lx-bento { grid-template-columns: 1fr; }
    .lx-tab { padding: 0 14px; font-size: 13px; }
    .lx-btn { width: 100%; }
    .lx-rubro-img { min-height: 300px; }
    .lx-extract-row { grid-template-columns: 1fr 36px 70px; }
    .lx-extract-row > :nth-child(3) { display: none; }
    .lx-phone { height: 600px; }
}

@media (prefers-reduced-motion: reduce) {
    .lx *, .lx *::before, .lx *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .lx-reveal { opacity: 1; transform: none; filter: none; }
}
