/* ==========================================================================
   landing.css — Estilos Globales para Landing Page de Adamant Core
   Tema: Premium Dark SaaS (Azul Dark con acentos Índigo y Cyan)
   ========================================================================== */

/* --- Variables de Diseño --- */
:root {
	--bg-primary: #090d16;
	--bg-secondary: #0f172a;
	--bg-card: rgba(15, 23, 42, 0.55);
	--border-card: rgba(255, 255, 255, 0.07);
	
	--primary: #5f5ceb;
	--primary-hover: #4e4ad9;
	--secondary: #0ea5e9;
	--secondary-hover: #0284c7;
	
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;
	
	--glass-blur: blur(16px);
}

/* --- Reseteos y Base --- */
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	background-color: var(--bg-primary);
	color: var(--text-primary);
	font-family: 'Inter', sans-serif;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	color: var(--text-primary);
	outline: none;
}

/* --- Gradientes de Fondo Inmersivos --- */
.background-blobs {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1000px;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.blob-1 {
	position: absolute;
	top: -150px;
	left: -150px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(95, 92, 235, 0.12) 0%, rgba(0,0,0,0) 70%);
	filter: blur(80px);
}

.blob-2 {
	position: absolute;
	top: 300px;
	right: -200px;
	width: 700px;
	height: 700px;
	background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(0,0,0,0) 70%);
	filter: blur(100px);
}

/* --- Efecto Glassmorphism --- */
.glass-panel {
	background: var(--bg-card);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border: 1px solid var(--border-card);
	border-radius: 16px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
	transform: translateY(-4px);
	border-color: rgba(95, 92, 235, 0.3);
	box-shadow: 0 12px 30px -10px rgba(95, 92, 235, 0.15);
}

/* --- Header y Barra de Navegación --- */
.nav-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 80px;
	z-index: 100;
	background: rgba(9, 13, 22, 0.75);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.nav-link-custom {
	color: var(--text-secondary);
	font-weight: 500;
	font-size: 0.95rem;
	padding: 8px 16px;
	border-radius: 8px;
	transition: all 0.2s ease;
	text-decoration: none;
	cursor: pointer;
}

.nav-link-custom:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.04);
}

/* --- Secciones de la Landing --- */
.section-padding {
	padding: 100px 0;
	position: relative;
	z-index: 1;
}

/* Hero Section */
.hero-title {
	font-size: 3.5rem;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

@media (max-width: 960px) {
	.hero-title {
		font-size: 2.5rem;
	}
	.section-padding {
		padding: 60px 0;
	}
}

.text-gradient-cyan {
	background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.text-gradient-indigo {
	background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.accent-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 100px;
	background: rgba(95, 92, 235, 0.15);
	border: 1px solid rgba(95, 92, 235, 0.3);
	color: #a5b4fc;
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 24px;
}

/* --- Inputs y Formularios de Contacto --- */
.form-input-custom .mud-input {
	background: rgba(15, 23, 42, 0.4) !important;
	border-radius: 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	color: var(--text-primary) !important;
	transition: all 0.3s ease;
}

.form-input-custom .mud-input:focus-within {
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 3px rgba(95, 92, 235, 0.2) !important;
}

/* Blazor Error UI */
#blazor-error-ui {
	background: #1e1b4b;
	color: #f8fafc;
	bottom: 0;
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
	border-top: 1px solid rgba(95, 92, 235, 0.3);
}

#blazor-error-ui .reload {
	color: #38bdf8;
	margin-left: 10px;
	text-decoration: underline;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
}
