@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/InterVariable.woff2') format('woff2'); }
/* ==========================================================================
   inicio.css — Réplica de la landing page (index.php) del alCubo viejo.
   Recrea el look Tailwind con CSS propio, compatible con CSP estricta.
   ========================================================================== */

.lp { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0f172a; }
.lp * { box-sizing: border-box; }
.lp a { text-decoration: none; }

/* Fondo hero oscuro */
.lp-hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99,102,241,.18) 0%, transparent 70%),
    linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
}

/* ── NAVBAR ── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(15,23,42,.85);
}
.lp-nav-in { max-width: 80rem; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-logo { display: flex; align-items: center; gap: 10px; }
.lp-logo-box { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #6366f1, #2563eb); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-logo-box svg { width: 16px; height: 16px; color: #fff; }
.lp-logo-txt { font-weight: 800; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.lp-nav-links { display: flex; align-items: center; gap: 24px; }
.lp-nav-link { color: #cbd5e1; font-size: 14px; font-weight: 500; transition: color .15s; display: inline-flex; align-items: center; gap: 4px; }
.lp-nav-link:hover { color: #fff; }
.lp-nav-link i { color: #818cf8; }
.lp-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 9999px; transition: all .2s; }
.lp-pill:hover { background: rgba(255,255,255,.2); }
.lp-pill i { color: #a5b4fc; }
.lp-nav-cta { background: linear-gradient(90deg, #4f46e5, #2563eb); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 20px; border-radius: 9999px; transition: all .2s; box-shadow: 0 10px 15px -3px rgba(30,27,75,.4); }
.lp-nav-cta:hover { background: linear-gradient(90deg, #6366f1, #3b82f6); }
.lp-nav-right { display: flex; align-items: center; gap: 8px; }
.lp-nav-sec { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; transition: all .2s; }
.lp-nav-sec:hover { color: #fff; background: rgba(255,255,255,.05); }
.lp-nav-sec svg { width: 14px; height: 14px; }
@media (max-width: 767px) { .lp-nav-links { display: none; } .lp-nav-sec { display: none; } }

/* ── HERO ── */
.lp-hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 64px; }
.lp-blob { position: absolute; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; filter: blur(64px); pointer-events: none; }
.lp-blob-1 { top: -128px; left: -128px; width: 384px; height: 384px; background: rgba(67,56,202,.2); }
.lp-blob-2 { bottom: -128px; right: -128px; width: 320px; height: 320px; background: rgba(29,78,216,.15); }
.lp-hero-in { max-width: 80rem; margin: 0 auto; padding: 80px 16px; width: 100%; }
.lp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1023px) { .lp-hero-grid { grid-template-columns: 1fr; } .lp-hero-visual { display: none; } .lp-hero-txt { text-align: center; } }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px; background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2); color: #a5b4fc; font-size: 12px; font-weight: 600; margin-bottom: 24px; }
.lp-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: lp-pulse-op 2s infinite; }
@keyframes lp-pulse-op { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.lp-h1 { font-size: 72px; font-weight: 900; color: #fff; line-height: 1.05; margin: 0 0 24px; }
.lp-h1 .grad { display: block; background: linear-gradient(90deg, #818cf8, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1279px) { .lp-h1 { font-size: 60px; } }
@media (max-width: 640px) { .lp-h1 { font-size: 48px; } }
.lp-hero-sub { color: #94a3b8; font-size: 18px; line-height: 1.6; margin: 0 0 32px; max-width: 32rem; }
@media (max-width: 1023px) { .lp-hero-sub { margin-left: auto; margin-right: auto; } }
.lp-hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 1023px) { .lp-hero-btns { justify-content: center; } }
.lp-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #4f46e5, #2563eb); color: #fff; font-weight: 700; font-size: 16px; padding: 16px 32px; border-radius: 16px; transition: all .2s; box-shadow: 0 20px 25px -5px rgba(30,27,75,.5); }
.lp-btn-primary:hover { background: linear-gradient(90deg, #6366f1, #3b82f6); }
.lp-btn-primary svg { width: 20px; height: 20px; transition: transform .2s; }
.lp-btn-primary:hover svg { transform: translateX(4px); }
.lp-btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-weight: 600; font-size: 16px; padding: 16px 32px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); transition: all .2s; }
.lp-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.lp-stats { display: flex; align-items: center; gap: 32px; margin-top: 48px; }
@media (max-width: 1023px) { .lp-stats { justify-content: center; } }
.lp-stat { text-align: center; }
.lp-stat-n { font-size: 30px; font-weight: 900; color: #fff; margin: 0; }
.lp-stat-n .blue { color: #60a5fa; } .lp-stat-n .green { color: #4ade80; }
.lp-stat-l { font-size: 12px; color: #64748b; margin: 2px 0 0; }
.lp-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.1); }

/* Visual derecho: anillos + centro + chips */
.lp-hero-visual { display: flex; align-items: center; justify-content: center; }
.lp-rings { position: relative; width: 320px; height: 320px; }
.lp-ring { position: absolute; border-radius: 50%; animation: lp-ping 3s cubic-bezier(0,0,.2,1) infinite; }
.lp-ring-1 { inset: 0; border: 1px solid rgba(99,102,241,.2); }
.lp-ring-2 { inset: 24px; border: 1px solid rgba(59,130,246,.15); animation-duration: 4s; animation-delay: .5s; }
.lp-ring-3 { inset: 48px; border: 1px solid rgba(129,140,248,.1); animation-duration: 5s; animation-delay: 1s; }
@keyframes lp-ping { 75%,100% { transform: scale(1.3); opacity: 0; } }
.lp-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lp-center-orb { width: 160px; height: 160px; background: linear-gradient(135deg, rgba(79,70,229,.8), rgba(29,78,216,.8)); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 25px 50px -12px rgba(30,27,75,.6); backdrop-filter: blur(4px); }
.lp-center-orb svg { width: 80px; height: 80px; color: #fff; }
.lp-chip { position: absolute; background: rgba(30,41,59,.9); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 8px 16px; font-size: 12px; font-weight: 600; backdrop-filter: blur(4px); box-shadow: 0 0 0 1px rgba(99,102,241,.15), 0 4px 24px rgba(0,0,0,.25); }
.lp-chip-1 { top: 16px; right: 0; color: #fff; }
.lp-chip-2 { bottom: 16px; left: 0; color: #4ade80; }
.lp-chip-3 { top: 50%; right: -20px; color: #fff; background: rgba(79,70,229,.9); }

/* Curva separadora */
.lp-curve { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.lp-curve svg { width: 100%; height: 60px; display: block; }

/* ── TICKER ── */
.lp-ticker-wrap { background: #4f46e5; padding: 12px 0; overflow: hidden; }
.lp-ticker { display: flex; white-space: nowrap; animation: lp-ticker 20s linear infinite; }
@keyframes lp-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lp-ticker span { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; margin: 0 32px; }

/* ── SECCIONES claras ── */
.lp-sec { padding: 96px 16px; }
.lp-sec-slate { background: #f8fafc; }
.lp-sec-white { background: #fff; }
.lp-sec-in { max-width: 80rem; margin: 0 auto; }
.lp-sec-head { text-align: center; margin-bottom: 64px; }
.lp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; color: #4f46e5; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; background: #eef2ff; padding: 4px 12px; border-radius: 9999px; }
.lp-h2 { font-size: 36px; font-weight: 900; color: #0f172a; margin: 0 0 16px; }
.lp-sec-sub { color: #64748b; font-size: 18px; max-width: 42rem; margin: 0 auto; }

/* Características (3 columnas) */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 767px) { .lp-features { grid-template-columns: 1fr; } }
.lp-feature { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #f1f5f9; transition: all .2s; }
.lp-feature:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.lp-feature-icon { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(59,130,246,.1)); border: 1px solid rgba(99,102,241,.25); transition: transform .2s; }
.lp-feature:hover .lp-feature-icon { transform: scale(1.1); }
.lp-feature h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin: 0 0 8px; }
.lp-feature p { color: #64748b; font-size: 14px; line-height: 1.6; margin: 0; }

/* Planes */
.lp-planes-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
@media (min-width: 640px) { .lp-planes-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.lp-tec-group { margin-bottom: 56px; }
.lp-tec-label { font-size: 14px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.lp-tec-label .line { flex: 1; height: 1px; background: #f1f5f9; }
.lp-planes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1023px) { .lp-planes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lp-planes-grid { grid-template-columns: 1fr; } }
.lp-plan { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 2px solid #f1f5f9; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); transition: all .2s; }
.lp-plan:hover { transform: translateY(-4px); box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.lp-plan.popular { border-color: #6366f1; box-shadow: 0 20px 25px -5px rgba(99,102,241,.2); }
.lp-plan-pop-badge { background: linear-gradient(135deg, #6366f1, #3b82f6); padding: 8px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.lp-plan-body { padding: 20px; display: flex; flex-direction: column; flex: 1; background: #fff; }
.lp-plan.popular .lp-plan-body { background: linear-gradient(to bottom, rgba(238,242,255,.5), #fff); }
.lp-plan h3 { font-weight: 800; font-size: 18px; color: #1e293b; margin: 0 0 2px; }
.lp-plan-vel { color: #94a3b8; font-size: 12px; margin: 0 0 16px; }
.lp-plan-precio { font-size: 30px; font-weight: 900; color: #0f172a; margin: 0; }
.lp-plan.popular .lp-plan-precio { color: #4f46e5; }
.lp-plan-precio small { font-size: 14px; font-weight: 400; color: #94a3b8; }
.lp-plan-inst { font-size: 12px; color: #94a3b8; margin: 2px 0 16px; }
.lp-plan-feats { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lp-plan-feats li { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #475569; }
.lp-plan-feats svg { width: 14px; height: 14px; color: #22c55e; margin-top: 2px; flex-shrink: 0; }
.lp-plan-btn { display: block; text-align: center; font-weight: 700; padding: 10px; border-radius: 12px; font-size: 14px; transition: all .2s; margin-top: auto; background: #0f172a; color: #fff; }
.lp-plan-btn:hover { background: #334155; }
.lp-plan.popular .lp-plan-btn { background: linear-gradient(90deg, #4f46e5, #2563eb); box-shadow: 0 10px 15px -3px rgba(99,102,241,.2); }
.lp-plan-empty { display: flex; flex-direction: column; border-radius: 16px; border: 2px dashed #e2e8f0; background: #f8fafc; align-items: center; justify-content: center; padding: 32px; text-align: center; min-height: 280px; }
.lp-plan-empty .ico { font-size: 36px; color: #cbd5e1; margin-bottom: 12px; }
.lp-plan-empty .t { color: #94a3b8; font-size: 14px; font-weight: 600; margin: 0; }
.lp-plan-empty .s { color: #cbd5e1; font-size: 12px; margin: 4px 0 0; }

/* CTA final */
.lp-cta { max-width: 48rem; margin: 0 auto; text-align: center; }
.lp-cta h2 { font-size: 36px; font-weight: 900; color: #fff; margin: 0 0 16px; }
.lp-cta p { color: #94a3b8; font-size: 18px; margin: 0 0 32px; }
.lp-cta-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 40px; }
.lp-cta-white { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #4338ca; font-weight: 700; font-size: 18px; padding: 20px 40px; border-radius: 16px; transition: all .2s; box-shadow: 0 25px 50px -12px rgba(0,0,0,.3); }
.lp-cta-white:hover { background: #eef2ff; }
.lp-cta-ghost { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 700; font-size: 18px; padding: 20px 40px; border-radius: 16px; transition: all .2s; backdrop-filter: blur(4px); }
.lp-cta-ghost:hover { background: rgba(255,255,255,.2); }
.lp-cta-chips { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.lp-cta-chip { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 14px; }
.lp-cta-chip i { color: #4ade80; }

/* Footer */
.lp-footer { background: #020617; color: #fff; padding: 56px 16px; }
.lp-footer-in { max-width: 80rem; margin: 0 auto; }

/* Utilidades (reemplazan style inline, bloqueado por CSP) */
.lp-sub-left { text-align: left; margin: 8px 0 0; }
.lp-empty-planes { text-align: center; padding: 64px 0; color: #94a3b8; }
.lp-empty-planes .emoji { font-size: 48px; margin-bottom: 16px; }
.lp-footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.lp-footer-desc { color: #64748b; font-size: 14px; max-width: 24rem; }
.lp-footer-copy { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 24px; text-align: center; color: #475569; font-size: 12px; }

/* ══════════ Widget de estado de zonas (Uptime Kuma) — copiado del viejo ══════════ */
#alcubo-status-widget{position:fixed;right:20px;bottom:20px;z-index:9998;
  -webkit-font-smoothing:antialiased;display:flex;flex-direction:column;gap:8px;align-items:flex-end}
#alcubo-status-widget *{box-sizing:border-box}
#alcubo-status-widget .asw-pill{display:flex;align-items:center;gap:10px;background:#fff;
  padding:10px 16px 10px 14px;border-radius:999px;
  box-shadow:0 4px 20px rgba(15,23,42,.12),0 1px 3px rgba(15,23,42,.08);
  border:1px solid rgba(15,23,42,.06);font-size:13px;color:#0f172a;min-width:260px}
#alcubo-status-widget .asw-dot{width:10px;height:10px;border-radius:50%;display:inline-block;
  flex-shrink:0;position:relative;background:#94a3b8}
#alcubo-status-widget .asw-dot::after{content:'';position:absolute;inset:-4px;border-radius:50%;
  animation:asw-pulse 2s ease-out infinite;display:none}
@keyframes asw-pulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(2);opacity:0}}
#alcubo-status-widget .asw-pill[data-estado="operativo"] .asw-dot{background:#10b981}
#alcubo-status-widget .asw-pill[data-estado="operativo"] .asw-dot::after{background:#10b981;display:block}
#alcubo-status-widget .asw-pill[data-estado="degradado"] .asw-dot{background:#f59e0b}
#alcubo-status-widget .asw-pill[data-estado="degradado"] .asw-dot::after{background:#f59e0b;display:block}
#alcubo-status-widget .asw-pill[data-estado="caido"] .asw-dot{background:#ef4444}
#alcubo-status-widget .asw-pill[data-estado="caido"] .asw-dot::after{background:#ef4444;display:block}
#alcubo-status-widget .asw-nombre{font-weight:600;letter-spacing:-0.01em}
#alcubo-status-widget .asw-sep{color:#cbd5e1}
#alcubo-status-widget .asw-info{color:#64748b;font-variant-numeric:tabular-nums;font-size:12px}
@media (max-width:640px){
  #alcubo-status-widget{right:12px;bottom:12px;left:12px;align-items:stretch}
  #alcubo-status-widget .asw-pill{min-width:0;font-size:12px;padding:9px 14px 9px 12px}
}
