/* ============================================================================
   ETHEREAL HERO - 3D Beams Design
   Archivo separado para el nuevo diseño del hero
   ============================================================================ */

/* ============================================================================
   ETHEREAL HEADER (Glassmorphic Navigation)
   ============================================================================ */

.ethereal-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0.75rem 0;
	transition: all 0.3s ease;
	background: transparent;
}

.ethereal-header.scrolled {
	background: transparent;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 0.5rem 0;
}

.ethereal-header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	transition: all 0.3s ease;
}

/* Brand */
.ethereal-brand a {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.ethereal-brand a:hover {
	opacity: 0.9;
}

.ethereal-logo {
	height: 2rem;
	width: auto;
	display: block;
}

.ethereal-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
	font-family: var(--font-display);
}

/* Glassmorphic Navigation Pills */
.ethereal-nav-pills {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	transition: all 0.3s ease;
}

@media (min-width: 768px) {
	.ethereal-nav-pills {
		display: flex;
		justify-content: center;
	}
}

.nav-pills-wrapper {
	display: inline-flex;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	padding: 0.2rem;
}

.nav-pills-menu {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-pills-menu li {
	margin: 0;
}

.nav-pills-menu a {
	display: block;
	padding: 0.4rem 0.9rem;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.8125rem;
	border-radius: 100px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.nav-pills-menu a:hover,
.nav-pills-menu a:focus {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
}

.nav-pills-menu a.active {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.15);
}

/* Header CTA */
.ethereal-cta {
	display: none;
}

@media (min-width: 768px) {
	.ethereal-cta {
		display: flex;
		align-items: center;
		gap: 1rem;
	}
}

/* Mobile Menu Toggle */
.ethereal-mobile-toggle {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	z-index: 1001;
}

@media (min-width: 768px) {
	.ethereal-mobile-toggle {
		display: none;
	}
}

.ethereal-mobile-toggle span {
	display: block;
	width: 1.5rem;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.ethereal-mobile-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ethereal-mobile-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.ethereal-mobile-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.ethereal-mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ethereal-mobile-nav.is-active {
	pointer-events: auto;
	opacity: 1;
}

.mobile-nav-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.mobile-nav-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 20rem;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(20px);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	padding: 2rem;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.ethereal-mobile-nav.is-active .mobile-nav-content {
	transform: translateX(0);
}

.mobile-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: none;
	border: none;
	color: #ffffff;
	cursor: pointer;
	padding: 0.5rem;
	transition: opacity 0.3s ease;
}

.mobile-close:hover {
	opacity: 0.7;
}

.mobile-menu {
	list-style: none;
	margin: 4rem 0 0;
	padding: 0;
}

.mobile-menu li {
	margin: 0;
}

.mobile-menu a {
	display: block;
	padding: 1rem 0;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 1.125rem;
	font-weight: 500;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: color 0.3s ease;
}

.mobile-menu a:hover {
	color: #ffffff;
}

/* ============================================================================
   SHIMMER BUTTONS (Efecto de brillo animado)
   ============================================================================ */

.btn-shimmer {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.3s ease;
	outline: 2px solid transparent;
	outline-offset: 2px;
}

.btn-shimmer:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-shimmer:disabled {
	pointer-events: none;
	opacity: 0.5;
}

.btn-shimmer span {
	position: relative;
	z-index: 10;
}

.btn-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Primary Variant (Blanco con texto negro) */
.btn-shimmer-primary {
	background: #ffffff;
	color: #000000;
	padding: 0.4rem 0.9rem;
	font-size: 0.8125rem;
	box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.btn-shimmer-primary:hover {
	background: #f0f0f0;
	color: #000000;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Outline Variant (Glassmorphic) */
.btn-shimmer-outline {
	background: transparent;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	color: #ffffff;
	border: 1px solid rgba(79, 209, 197, 0.5);
	padding: 0.65rem 1.5rem;
	font-size: 0.9375rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(79, 209, 197, 0.1);
	transition: all 0.3s ease;
}

.btn-shimmer-outline::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		transparent 0%,
		rgba(79, 209, 197, 0.1) 50%,
		transparent 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn-shimmer-outline:hover {
	border-color: rgba(79, 209, 197, 0.8);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(79, 209, 197, 0.25);
}

.btn-shimmer-outline:hover::after {
	opacity: 1;
}

/* Large Size */
.btn-shimmer-lg {
	padding: 0.8rem 1.75rem;
	font-size: 0.9375rem;
}

.btn-shimmer-lg .btn-icon {
	width: 18px;
	height: 18px;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.ethereal-hero {
	position: relative;
	background: #000000;
	overflow: hidden;
	min-height: 100vh;
}

/* 3D Beams Container */
.ethereal-beams-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
}

.ethereal-beams-canvas {
	width: 100% !important;
	height: 100% !important;
	display: block;
}

/* Gradient Overlay (mejora legibilidad) */
.ethereal-gradient-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.3) 0%,
		transparent 40%,
		transparent 60%,
		rgba(0, 0, 0, 0.4) 100%
	);
	pointer-events: none;
}

.ethereal-hero-container {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: 4.5rem 1.5rem 3rem;
	max-width: 80rem;
	margin: 0 auto;
}

.ethereal-hero-content {
	max-width: 56rem;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

/* Badge con glassmorphism */
.ethereal-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.9rem;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8125rem;
	margin-bottom: 1.5rem;
}

.badge-icon {
	color: #ffffff;
	width: 14px;
	height: 14px;
}

/* Main Heading con responsive */
.ethereal-heading {
	font-family: var(--font-serif), Georgia, serif;
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 500;
	line-height: 1.2;
	color: #ffffff;
	margin: 0 0 1.5rem;
	letter-spacing: -0.02em;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

/* Gradient Text Primary (color teal) */
.gradient-primary {
	background: linear-gradient(
		to right,
		rgba(79, 209, 197, 1) 0%,
		rgba(79, 209, 197, 0.8) 50%,
		rgba(79, 209, 197, 0.6) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Gradient Text White (blanco a gris) */
.gradient-white {
	background: linear-gradient(
		to right,
		#ffffff 0%,
		rgba(255, 255, 255, 0.8) 50%,
		rgba(255, 255, 255, 0.6) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Subtitle */
.ethereal-subtitle {
	font-size: clamp(0.9375rem, 2vw, 1.125rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 2rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

/* CTA Group (botones) */
.ethereal-cta-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
	margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
	.ethereal-cta-group {
		flex-direction: row;
		gap: 1rem;
	}
}

/* Stats Grid */
.ethereal-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: 1rem;
	max-width: 48rem;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.ethereal-stats {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

.ethereal-stat {
	text-align: center;
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(60px);
	-webkit-backdrop-filter: blur(60px);
	border: 1px solid rgba(79, 209, 197, 0.3);
	border-radius: 0.75rem;
	padding: 1.25rem 1rem;
	transition: all 0.3s ease;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.ethereal-stat:hover {
	transform: translateY(-3px);
	border-color: rgba(79, 209, 197, 0.6);
	box-shadow: 0 12px 40px rgba(79, 209, 197, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(70px);
	-webkit-backdrop-filter: blur(70px);
}

.stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1;
	margin-bottom: 0.4rem;
	font-family: var(--font-display);
}

.stat-desc {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.3;
}

/* Animations */
@keyframes ethereal-fade-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

[data-animate="fade-in-up"] {
	animation: ethereal-fade-in 0.8s ease-out forwards;
	opacity: 0;
}

[data-animate="fade-in-up"][data-delay="100"] {
	animation-delay: 0.1s;
}

[data-animate="fade-in-up"][data-delay="200"] {
	animation-delay: 0.2s;
}

[data-animate="fade-in-up"][data-delay="300"] {
	animation-delay: 0.3s;
}

[data-animate="fade-in-up"][data-delay="400"] {
	animation-delay: 0.4s;
}
