/* ============== LANDING VULNERA TRACK ==============
   Misma identidad que el login: fondo #0f172a, vidrio esmerilado,
   acentos azul #3b82f6 / cian #06b6d4 y tipografía Plus Jakarta Sans. */

:root {
	--bg-dark: #0f172a;
	--bg-alt: #0b1224;
	--surface: rgba(255, 255, 255, 0.04);
	--surface-2: rgba(255, 255, 255, 0.07);
	--glass: rgb(153 252 176 / 8%);
	--border-color: rgba(255, 255, 255, 0.12);
	--accent: #3b82f6;
	--accent-2: #06b6d4;
	--brand-cyan: #00d4ff;
	--accent-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
	--accent-hover: linear-gradient(135deg, #2563eb, #1e40af);
	--text-main: #f8fafc;
	--text-muted: #cbd5e1;
	--text-soft: #94a3b8;
	--sev-critical: #dc2626;
	--sev-high: #f59e0b;
	--sev-medium: #fde047;
	--sev-low: #10b981;
	--radius: 20px;
}

html { scroll-behavior: smooth; }

body {
	background-color: var(--bg-dark);
	color: var(--text-main);
	font-family: 'Plus Jakarta Sans', sans-serif;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

a { color: #93c5fd; }
a:hover { color: #ffffff; }

.lp-muted { color: var(--text-soft); }

/* ---------- Botones ---------- */
.lp-btn-primary {
	background: var(--accent-gradient);
	border: none;
	border-radius: 12px;
	padding: 10px 20px;
	font-weight: 600;
	color: #ffffff;
	box-shadow: 0 6px 20px rgba(38, 105, 172, 0.35);
	transition: all 0.25s ease;
}

.lp-btn-primary:hover,
.lp-btn-primary:focus {
	background: var(--accent-hover);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(59, 130, 246, 0.45);
}

.lp-btn-ghost {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 10px 20px;
	font-weight: 600;
	color: var(--text-main);
	transition: all 0.25s ease;
}

.lp-btn-ghost:hover,
.lp-btn-ghost:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}

.lp-btn-lg { padding: 14px 28px; font-size: 1.02rem; }

/* ---------- Navbar ---------- */
.lp-nav {
	padding: 10px 0;
	transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.lp-nav.scrolled {
	background: rgba(15, 23, 42, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--border-color);
	padding: 4px 0;
}

.lp-nav .navbar-brand img {
	height: 62px;
	width: auto;
	object-fit: contain;
	transform: scale(1.35);
}

.lp-nav .nav-link {
	color: var(--text-muted);
	font-weight: 500;
	margin: 0 6px;
	transition: color 0.2s;
}

.lp-nav .nav-link:hover { color: #ffffff; }

.lp-nav .navbar-toggler {
	border: 1px solid var(--border-color);
	color: #ffffff;
	font-size: 1.5rem;
	padding: 4px 10px;
}

.lp-nav .navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
	.lp-nav .navbar-collapse {
		background: rgba(15, 23, 42, 0.96);
		border: 1px solid var(--border-color);
		border-radius: 16px;
		padding: 16px;
		margin-top: 8px;
	}
	.lp-nav-cta { flex-direction: column; margin-top: 12px; }
}

/* ---------- Hero ---------- */
.lp-hero {
	position: relative;
	padding: 150px 0 90px;
	overflow: hidden;
}

.lp-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.35;
	pointer-events: none;
}

.lp-orb-1 { width: 420px; height: 420px; background: #2669ac; top: 5%; left: -5%; }
.lp-orb-2 { width: 380px; height: 380px; background: #06b6d4; bottom: 0; right: -5%; opacity: 0.25; }

.lp-grid-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
	pointer-events: none;
}

.lp-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--glass);
	border: 1px solid var(--border-color);
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-muted);
}

.lp-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
	animation: lp-pulse 2s infinite;
}

@keyframes lp-pulse {
	70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lp-hero-title {
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 22px 0 20px;
}

.lp-gradient-text {
	background: linear-gradient(90deg, var(--brand-cyan), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lp-hero-sub {
	font-size: 1.12rem;
	color: var(--text-muted);
	line-height: 1.7;
	max-width: 560px;
}

.lp-hero-sub strong { color: #ffffff; }

.lp-hero-checks {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.lp-hero-checks i { color: var(--brand-cyan); margin-right: 6px; }

/* Vista previa del panel */
.lp-mock {
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border-color);
	border-radius: 24px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(59, 130, 246, 0.08), 0 0 80px -20px rgba(6, 182, 212, 0.35);
	overflow: hidden;
	transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
	transition: transform 0.6s ease;
}

.lp-mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

.lp-mock-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 18px;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid var(--border-color);
}

.lp-mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.lp-mock-bar small { margin-left: 10px; color: var(--text-soft); font-size: 0.78rem; }

.lp-mock-body { padding: 18px; }

.lp-kpi {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: 16px;
	background: var(--surface);
	border: 1px solid var(--border-color);
}

.lp-kpi-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	color: #ffffff;
}

.bg-crit { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.bg-ok { background: linear-gradient(135deg, #06b6d4, #2563eb); }

.lp-kpi-label { font-size: 0.75rem; color: var(--text-soft); }
.lp-kpi-value { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }

.lp-mock-chart {
	margin-top: 14px;
	padding: 14px;
	border-radius: 16px;
	background: var(--surface);
	border: 1px solid var(--border-color);
}

.lp-mock-chart-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.82rem;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.lp-tag {
	font-size: 0.72rem;
	padding: 2px 9px;
	border-radius: 999px;
	background: rgba(6, 182, 212, 0.14);
	color: #67e8f9;
}

.lp-mock-list { margin-top: 14px; display: grid; gap: 8px; }

.lp-mock-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--border-color);
	font-size: 0.85rem;
}

.lp-mock-cve { font-weight: 600; color: #93c5fd; }
.lp-mock-score { font-weight: 700; }

.lp-sev {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 10px;
	border-radius: 999px;
}

.lp-sev-CRITICAL { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }
.lp-sev-HIGH { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* ---------- Franja de confianza ---------- */
.lp-trust {
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
	background: rgba(255, 255, 255, 0.02);
	padding: 22px 0;
}

.lp-trust-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 14px 30px;
	color: var(--text-soft);
	font-weight: 600;
	font-size: 0.92rem;
}

.lp-trust-row i { color: var(--brand-cyan); font-size: 1.2rem; vertical-align: -3px; margin-right: 6px; }

/* ---------- Secciones ---------- */
.lp-section { padding: 100px 0; position: relative; }
.lp-alt { background: var(--bg-alt); }
.lp-narrow { max-width: 820px; }

.lp-section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 56px;
}

.lp-section-head h2 {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 12px 0 14px;
}

.lp-section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

.lp-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-cyan);
}

/* ---------- Números ---------- */
.lp-stats { padding: 70px 0; }

.lp-stat {
	text-align: center;
	padding: 28px 16px;
	border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--border-color);
	height: 100%;
}

.lp-stat-value {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	font-weight: 800;
	background: linear-gradient(90deg, #ffffff, #93c5fd);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}

.lp-stat-value small { font-size: 0.5em; }
.lp-stat-label { color: var(--text-soft); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Tarjetas de servicios ---------- */
.lp-card {
	height: 100%;
	padding: 30px 26px;
	border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--border-color);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.lp-card:hover {
	transform: translateY(-6px);
	border-color: rgba(59, 130, 246, 0.5);
	box-shadow: 0 24px 40px -20px rgba(59, 130, 246, 0.45);
}

.lp-card-icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	color: #ffffff;
	background: linear-gradient(135deg, var(--accent-2), var(--accent));
	box-shadow: 0 10px 24px -8px rgba(6, 182, 212, 0.6);
	margin-bottom: 20px;
}

.lp-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.lp-card p { color: var(--text-muted); margin: 0; line-height: 1.65; }

.lp-feature {
	margin-top: 40px;
	padding: 44px;
	border-radius: 28px;
	background: var(--glass);
	border: 1px solid var(--border-color);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.lp-feature h3 { font-size: 1.7rem; font-weight: 800; margin: 10px 0 14px; }
.lp-feature p { color: var(--text-muted); font-size: 1.04rem; }

.lp-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.lp-list i { color: var(--brand-cyan); margin-right: 8px; }

.lp-progress-card {
	padding: 24px;
	border-radius: 20px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid var(--border-color);
}

.lp-progress-head {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	margin-bottom: 16px;
}

.lp-progress-head .lp-muted { font-size: 0.78rem; font-weight: 500; }

.lp-progress-row { margin-bottom: 14px; font-size: 0.88rem; color: var(--text-muted); }
.lp-progress-row:last-child { margin-bottom: 0; }

.lp-progress {
	height: 8px;
	margin-top: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.lp-progress-fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lp-fill-CRITICAL { background: var(--sev-critical); }
.lp-fill-HIGH { background: var(--sev-high); }
.lp-fill-MEDIUM { background: var(--sev-medium); }
.lp-fill-LOW { background: var(--sev-low); }

/* ---------- Pasos ---------- */
.lp-steps { position: relative; }

.lp-step {
	position: relative;
	text-align: center;
	padding: 40px 26px 30px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--border-color);
	height: 100%;
}

.lp-step-num {
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--accent-gradient);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	box-shadow: 0 0 0 6px var(--bg-alt);
}

.lp-step > i { font-size: 2.4rem; color: var(--brand-cyan); }
.lp-step h3 { font-size: 1.15rem; font-weight: 700; margin: 14px 0 8px; }
.lp-step p { color: var(--text-muted); margin: 0; }

/* ---------- Gráficos ---------- */
.lp-chart-card {
	height: 100%;
	padding: 26px;
	border-radius: var(--radius);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--border-color);
}

.lp-chart-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.lp-chart-card h3 i { color: var(--brand-cyan); margin-right: 6px; }
.lp-chart-card > .lp-muted { font-size: 0.85rem; margin-bottom: 18px; }

.lp-chart-wrap { position: relative; height: 300px; }
.lp-chart-sm { height: 210px; }
.lp-chart-xs { height: 220px; }

.lp-legend {
	list-style: none;
	padding: 0;
	margin: 18px auto 0;
	max-width: 340px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 28px;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.lp-legend li { display: flex; align-items: center; gap: 8px; }
.lp-legend .dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.lp-legend strong { color: var(--text-main); margin-left: auto; font-variant-numeric: tabular-nums; }

.lp-insight {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.18), transparent 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.lp-insight-icon { font-size: 2.2rem; color: var(--brand-cyan); }

.lp-insight-value {
	font-size: clamp(3rem, 6vw, 4.2rem);
	font-weight: 800;
	line-height: 1;
	margin: 12px 0;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
}

.lp-insight p { color: var(--text-muted); font-size: 1.02rem; }
.lp-insight strong { color: #ffffff; }

.lp-source {
	text-align: center;
	color: var(--text-soft);
	font-size: 0.8rem;
	margin: 26px 0 0;
}

/* ---------- Para quién ---------- */
.lp-audience {
	height: 100%;
	padding: 30px 26px;
	border-radius: var(--radius);
	border: 1px solid var(--border-color);
	background: var(--surface);
	transition: background 0.3s ease;
}

.lp-audience:hover { background: var(--surface-2); }
.lp-audience i { font-size: 2rem; color: var(--brand-cyan); }
.lp-audience h3 { font-size: 1.12rem; font-weight: 700; margin: 14px 0 8px; }
.lp-audience p { color: var(--text-muted); margin: 0; }

/* ---------- FAQ ---------- */
.lp-accordion .accordion-item {
	background: var(--surface);
	border: 1px solid var(--border-color);
	border-radius: 16px !important;
	margin-bottom: 12px;
	overflow: hidden;
}

.lp-accordion .accordion-button {
	background: transparent;
	color: var(--text-main);
	font-weight: 600;
	font-size: 1rem;
	padding: 20px 22px;
	box-shadow: none;
}

.lp-accordion .accordion-button:not(.collapsed) { color: #ffffff; background: rgba(59, 130, 246, 0.1); }
.lp-accordion .accordion-button::after { filter: invert(1) brightness(1.5); }
.lp-accordion .accordion-button:focus { box-shadow: none; }
.lp-accordion .accordion-body { color: var(--text-muted); padding: 4px 22px 22px; line-height: 1.7; }

/* ---------- CTA final ---------- */
.lp-cta {
	position: relative;
	overflow: hidden;
	padding: 48px 56px;
	border-radius: 32px;
	background: linear-gradient(135deg, rgba(38, 105, 172, 0.55), rgba(6, 182, 212, 0.25));
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 40px 80px -30px rgba(38, 105, 172, 0.6);
}

/* El orbe es decorativo: queda fuera del flujo para no agrandar la caja */
.lp-orb-cta { width: 360px; height: 360px; background: #06b6d4; top: -140px; right: -100px; opacity: 0.35; }

.lp-cta-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 48px;
}

.lp-cta-brand {
	flex: 0 0 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 212, 255, 0.22) 0%, rgba(0, 212, 255, 0) 70%);
}

/* El PNG tiene mucho margen transparente: se agranda para que el dibujo ocupe el círculo */
.lp-cta-logo {
	width: 125%;
	max-width: none;
	margin-top: 8%;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.lp-cta-content { flex: 1; }
.lp-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.lp-cta p { color: #e2e8f0; font-size: 1.1rem; max-width: 540px; margin: 12px 0 0; }

.lp-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

@media (max-width: 767px) {
	.lp-cta { padding: 36px 22px; }
	.lp-cta-inner { flex-direction: column; gap: 8px; text-align: center; }
	.lp-cta-brand { flex-basis: auto; width: 180px; }
	.lp-cta p { margin-left: auto; margin-right: auto; }
	.lp-cta-actions { justify-content: center; }
}

/* ---------- Footer ---------- */
.lp-footer {
	border-top: 1px solid var(--border-color);
	padding: 36px 0;
	font-size: 0.85rem;
}

.lp-footer-logo { height: 80px; }

.lp-footer a {
	color: var(--text-muted);
	text-decoration: none;
	margin: 0 10px;
}

.lp-footer a:hover { color: #ffffff; }
.lp-footer .col-md-4:last-child a { margin: 0; color: #ffffff; text-decoration: underline; }

/* ---------- Animaciones de aparición ---------- */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.lp-mock, .lp-mock:hover { transform: none; }
	.lp-pulse { animation: none; }
	.lp-progress-fill { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.lp-hero { padding: 120px 0 70px; }
	.lp-mock { transform: none; }
	.lp-feature { padding: 30px 22px; }
}

@media (max-width: 575px) {
	.lp-section { padding: 70px 0; }
	.lp-section-head { margin-bottom: 40px; }
	.lp-hero-sub { font-size: 1rem; }
	.lp-btn-lg { width: 100%; justify-content: center; }
	.lp-mock-body { padding: 12px; }
	.lp-kpi { padding: 10px; gap: 8px; }
	.lp-kpi-icon { width: 36px; height: 36px; font-size: 1.05rem; }
	.lp-kpi-value { font-size: 1.05rem; }
	.lp-chart-wrap { height: 240px; }
	.lp-chart-card { padding: 20px 16px; }
	.lp-legend { grid-template-columns: 1fr; }
	.lp-nav .navbar-brand img { height: 52px; }
}
