/* =========================================================
SISTEMA DE DISEÑO - LM LABOR SOFT SPA (DARK TECH)
========================================================= */

:root {
/* Paleta de Colores - Dark Tech */
--bg-base: #060913;
--bg-surface: rgba(15, 23, 42, 0.6);
--bg-card: rgba(255, 255, 255, 0.02);
--bg-card-hover: rgba(255, 255, 255, 0.04);

--primary-color: #00e5ff; /* Cian brillante */
--secondary-color: #0077ff; /* Azul eléctrico */
--accent-color: #8b5cf6; /* Púrpura sutil para complementos */

--text-main: #ffffff;
--text-muted: #94a3b8;
--text-dark: #0f172a;

--border-glass: rgba(255, 255, 255, 0.08);
--border-glass-hover: rgba(255, 255, 255, 0.15);
--border-primary: rgba(0, 229, 255, 0.3);

/* Tipografía */
--font-heading: 'Outfit', sans-serif;
--font-body: 'Inter', sans-serif;

/* Espaciados y Radios */
--radius-sm: 8px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-pill: 9999px;

/* Sombras y Efectos */
--shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
--glow-primary: 0 0 20px rgba(0, 229, 255, 0.4);
--glow-secondary: 0 0 30px rgba(0, 119, 255, 0.3);

/* Transiciones */
--transition-fast: 0.2s ease;
--transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
--transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);


}

/* =========================================================
RESET Y BASE
========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
scroll-behavior: smooth;
font-size: 16px;
}

body.theme-dark-tech {
font-family: var(--font-body);
background-color: var(--bg-base);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 700;
line-height: 1.2;
color: var(--text-main);
}

a {
text-decoration: none;
color: inherit;
transition: color var(--transition-fast);
}

img {
max-width: 100%;
height: auto;
display: block;
}

ul {
list-style: none;
}

.container {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 0 24px;
}

/* =========================================================
UTILIDADES GENERALES
========================================================= */
.text-gradient-primary {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
display: inline-block;
}

/* Estado inicial para animaciones JS */
[data-reveal] {
opacity: 0;
transform: translateY(30px);
transition: opacity var(--transition-slow), transform var(--transition-slow);
}
[data-reveal].is-visible {
opacity: 1;
transform: translateY(0);
}

/* =========================================================
BOTONES PREMIUM
========================================================= */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
border-radius: var(--radius-pill);
font-family: var(--font-heading);
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all var(--transition-normal);
border: none;
text-align: center;
position: relative;
overflow: hidden;
}

.btn-large {
padding: 16px 36px;
font-size: 1.1rem;
}

.btn-primary {
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
color: var(--text-main);
z-index: 1;
}

.btn-primary::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
opacity: 0;
z-index: -1;
transition: opacity var(--transition-normal);
}

.btn-primary:hover {
transform: translateY(-2px);
}

.btn-primary:hover::before {
opacity: 1;
}

.btn-glow {
box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4);
}

.btn-glow-strong {
box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover.btn-glow,
.btn-primary:hover.btn-glow-strong {
box-shadow: 0 12px 30px rgba(0, 229, 255, 0.5);
}

.btn-outline {
background: transparent;
border: 1px solid var(--border-glass-hover);
color: var(--text-main);
}

.btn-glass {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
background: rgba(255, 255, 255, 0.1);
border-color: var(--text-main);
transform: translateY(-2px);
}

.btn i {
font-size: 1.2rem;
transition: transform var(--transition-fast);
}

.btn:hover i.ri-arrow-right-line,
.btn:hover i.ri-arrow-right-up-line {
transform: translateX(4px) translateY(-2px);
}

/* =========================================================
HEADER & NAVBAR (GLASSMORPHISM)
========================================================= */
.site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 20px 0;
transition: all var(--transition-normal);
}

.site-header.scrolled {
padding: 10px 0;
}

.nav-glass-wrapper {
background: rgba(6, 9, 19, 0.6);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border-glass);
margin: 0 24px;
border-radius: var(--radius-pill);
transition: all var(--transition-normal);
}

.site-header.scrolled .nav-glass-wrapper {
margin: 0;
border-radius: 0;
border-left: none;
border-right: none;
background: rgba(6, 9, 19, 0.85);
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
padding: 0 32px;
}

.brand-logo img {
    height: 70px;
    width: auto;
    transition: transform var(--transition-normal);
}

.brand-logo:hover img {
transform: scale(1.05);
}

.nav-menu {
display: flex;
align-items: center;
gap: 40px;
}

.nav-list {
display: flex;
gap: 32px;
}

.nav-link {
font-family: var(--font-heading);
font-weight: 500;
font-size: 1rem;
color: var(--text-muted);
position: relative;
padding: 8px 0;
}

.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--primary-color);
transition: width var(--transition-normal);
border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
width: 100%;
}

.mobile-menu-toggle {
display: none;
background: transparent;
border: none;
color: var(--text-main);
font-size: 1.8rem;
cursor: pointer;
}

/* =========================================================
HERO SECTION
========================================================= */
.hero-section {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 120px 0 80px;
overflow: hidden;
}

.hero-bg-elements {
position: absolute;
inset: 0;
z-index: -1;
overflow: hidden;
}

.ambient-glow {
position: absolute;
border-radius: 50%;
filter: blur(120px);
opacity: 0.5;
z-index: 1;
}

.glow-primary {
top: -10%;
right: -10%;
width: 600px;
height: 600px;
background: var(--secondary-color);
}

.glow-secondary {
bottom: -20%;
left: -10%;
width: 700px;
height: 700px;
background: var(--accent-color);
opacity: 0.3;
}

.cyber-grid-overlay {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
background-size: 40px 40px;
background-position: center center;
z-index: 2;
mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
-webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.hero-content {
position: relative;
z-index: 10;
max-width: 900px;
margin: 0 auto;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.badge-modern {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 8px 20px;
background: rgba(0, 229, 255, 0.05);
border: 1px solid rgba(0, 229, 255, 0.2);
border-radius: var(--radius-pill);
margin-bottom: 32px;
}

.badge-dot {
width: 8px;
height: 8px;
background-color: var(--primary-color);
border-radius: 50%;
box-shadow: 0 0 10px var(--primary-color);
}

.badge-dot.pulse {
animation: pulseGlow 2s infinite;
}

.badge-text {
font-size: 0.9rem;
font-weight: 600;
color: var(--primary-color);
letter-spacing: 0.5px;
text-transform: uppercase;
}

.hero-title {
font-size: clamp(2.5rem, 6vw, 4.5rem);
letter-spacing: -0.02em;
margin-bottom: 24px;
}

.hero-description {
font-size: clamp(1rem, 2vw, 1.25rem);
color: var(--text-muted);
max-width: 700px;
margin: 0 auto 48px;
}

.hero-cta-group {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}

/* =========================================================
MÓDULOS DE NAVEGACIÓN (CARDS)
========================================================= */
.modules-section {
padding: 80px 0 120px;
position: relative;
z-index: 10;
}

.section-heading {
text-align: center;
max-width: 700px;
margin: 0 auto 64px;
}

.section-title {
font-size: clamp(2rem, 4vw, 3rem);
margin-bottom: 16px;
}

.section-subtitle {
font-size: 1.1rem;
color: var(--text-muted);
}

.modules-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 24px;
}

.modern-glass-card {
background: var(--bg-card);
border: 1px solid var(--border-glass);
border-radius: var(--radius-lg);
padding: 40px 32px;
height: 100%;
position: relative;
overflow: hidden;
transition: all var(--transition-normal);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
}

.card-glow-hover {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(circle at 50% 0%, rgba(0, 119, 255, 0.15), transparent 70%);
opacity: 0;
transition: opacity var(--transition-normal);
pointer-events: none;
}

.modern-glass-card:hover {
transform: translateY(-10px);
border-color: var(--border-glass-hover);
background: var(--bg-card-hover);
box-shadow: var(--shadow-glass);
}

.modern-glass-card:hover .card-glow-hover {
opacity: 1;
}

.card-icon-wrapper {
width: 64px;
height: 64px;
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-glass);
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 24px;
transition: all var(--transition-normal);
}

.modern-glass-card:hover .card-icon-wrapper {
background: rgba(0, 229, 255, 0.1);
border-color: var(--border-primary);
transform: scale(1.05);
box-shadow: var(--glow-primary);
}

.card-highlight .highlight-icon {
color: #f43f5e; /* Color acento para Deporte y Salud */
}
.modern-glass-card.card-highlight:hover .highlight-icon {
background: rgba(244, 63, 94, 0.1);
border-color: rgba(244, 63, 94, 0.3);
box-shadow: 0 0 20px rgba(244, 63, 94, 0.3);
}

.card-title {
font-size: 1.5rem;
margin-bottom: 16px;
}

.card-text {
color: var(--text-muted);
margin-bottom: 32px;
flex-grow: 1;
}

.card-action {
display: flex;
align-items: center;
gap: 8px;
color: var(--primary-color);
font-family: var(--font-heading);
font-weight: 600;
font-size: 1rem;
transition: gap var(--transition-fast);
}

.modern-glass-card:hover .card-action {
gap: 16px;
}

.action-icon {
transition: transform var(--transition-fast);
}

/* =========================================================
NUEVA SECCIÓN: VIDEO Y CASOS DE ÉXITO
========================================================= */
.video-showcase-section {
padding: 60px 0 100px;
position: relative;
z-index: 10;
}

.video-layout-grid {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 60px;
align-items: center;
}

.feature-checklist {
list-style: none;
display: flex;
flex-direction: column;
gap: 16px;
}

.feature-checklist li {
display: flex;
align-items: center;
gap: 12px;
font-size: 1.05rem;
color: var(--text-main);
}

.feature-checklist i {
color: var(--primary-color);
font-size: 1.4rem;
}

.video-glass-wrapper {
position: relative;
border-radius: var(--radius-lg);
padding: 16px;
background: var(--bg-card);
border: 1px solid var(--border-glass);
backdrop-filter: blur(10px);
box-shadow: var(--shadow-glass);
}

.video-glow-backdrop {
position: absolute;
inset: -10px;
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
filter: blur(30px);
opacity: 0.15;
z-index: -1;
border-radius: inherit;
}

.premium-video {
width: 100%;
height: auto;
border-radius: var(--radius-md);
display: block;
object-fit: cover;
background: #000;
}

.video-overlay {
position: absolute;
inset: 16px; /* Para respetar el padding del wrapper */
display: flex;
align-items: center;
justify-content: center;
background: rgba(0,0,0,0.4);
border-radius: var(--radius-md);
transition: opacity var(--transition-normal);
}

.video-overlay.is-hidden {
opacity: 0;
pointer-events: none;
}

.play-pulse-btn {
width: 80px;
height: 80px;
border-radius: 50%;
background: var(--primary-color);
border: none;
color: #000;
font-size: 2.5rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7);
animation: playPulse 2s infinite;
transition: transform var(--transition-fast);
}

.play-pulse-btn:hover {
transform: scale(1.1);
}

@keyframes playPulse {
0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
70% { box-shadow: 0 0 0 20px rgba(0, 229, 255, 0); }
100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* =========================================================
NUEVA SECCIÓN: EQUIPO FUNDADOR
========================================================= */
.team-section {
padding: 80px 0 140px;
position: relative;
z-index: 10;
}

.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 40px;
max-width: 1000px;
margin: 0 auto;
}

.team-member-card {
padding: 40px 32px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.member-photo-wrapper {
position: relative;
width: 160px;
height: 160px;
margin-bottom: 24px;
}

.photo-glow-effect {
position: absolute;
inset: -5px;
background: var(--primary-color);
border-radius: 50%;
filter: blur(15px);
opacity: 0.3;
z-index: 0;
transition: opacity var(--transition-normal);
}

.team-member-card:hover .photo-glow-effect {
opacity: 0.6;
}

.member-photo {
position: relative;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
border: 3px solid var(--border-glass);
z-index: 1;
background: #000; /* Fondo base por si la imagen tarda */
}

.member-info {
position: relative;
z-index: 2;
}

.member-name {
font-size: 1.6rem;
margin-bottom: 4px;
}

.member-role {
display: block;
font-family: var(--font-heading);
color: var(--primary-color);
font-weight: 600;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 16px;
}

.member-bio {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.7;
margin-bottom: 24px;
}

.member-socials {
display: flex;
gap: 16px;
justify-content: center;
}

.member-socials a {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255,255,255,0.05);
border: 1px solid var(--border-glass);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: var(--text-main);
transition: all var(--transition-fast);
}

.member-socials a:hover {
background: var(--primary-color);
border-color: var(--primary-color);
color: #000;
transform: translateY(-3px);
}

/* =========================================================
SECCIÓN DE VALOR (FEATURES)
========================================================= */
.value-proposition-section {
padding: 60px 0 120px;
border-top: 1px solid var(--border-glass);
background: linear-gradient(180deg, var(--bg-base) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}

.feature-item {
display: flex;
gap: 24px;
align-items: flex-start;
}

.feature-icon-box {
width: 56px;
height: 56px;
flex-shrink: 0;
background: linear-gradient(135deg, rgba(0, 119, 255, 0.1), rgba(0, 229, 255, 0.1));
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
color: var(--primary-color);
}

.feature-title {
font-size: 1.25rem;
margin-bottom: 12px;
}

.feature-desc {
color: var(--text-muted);
font-size: 0.95rem;
}

/* =========================================================
FOOTER PREMIUM
========================================================= */
.site-footer {
position: relative;
background: #03050a;
padding: 80px 0 40px;
overflow: hidden;
}

.footer-top-border {
position: absolute;
top: 0; left: 0; width: 100%; height: 1px;
background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
opacity: 0.5;
}

.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1.5fr;
gap: 60px;
margin-bottom: 60px;
}

.footer-logo img {
height: 200px;
margin-bottom: 24px;
filter: brightness(0) invert(1);
}

.footer-bio {
color: var(--text-muted);
font-size: 0.95rem;
margin-bottom: 32px;
max-width: 380px;
}

.social-networks {
display: flex;
gap: 16px;
}

.social-icon {
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-glass);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
color: var(--text-main);
transition: all var(--transition-normal);
}

.social-icon:hover {
transform: translateY(-5px);
border-color: var(--primary-color);
background: var(--secondary-color);
box-shadow: var(--glow-secondary);
}

.footer-title {
font-size: 1.1rem;
margin-bottom: 24px;
letter-spacing: 0.5px;
}

.footer-list li {
margin-bottom: 16px;
}

.footer-link {
color: var(--text-muted);
font-size: 0.95rem;
transition: color var(--transition-fast);
}

.footer-link:hover {
color: var(--primary-color);
}

.link-highlight {
color: var(--accent-color);
}

.contact-info-list {
display: flex;
flex-direction: column;
gap: 20px;
}

.contact-item {
display: flex;
gap: 16px;
align-items: flex-start;
}

.contact-icon {
color: var(--primary-color);
font-size: 1.2rem;
background: rgba(0, 229, 255, 0.1);
padding: 8px;
border-radius: var(--radius-sm);
}

.contact-detail {
display: flex;
flex-direction: column;
}

.detail-label {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 4px;
}

.detail-value {
font-weight: 500;
font-size: 0.95rem;
}

.footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 32px;
border-top: 1px solid var(--border-glass);
color: var(--text-muted);
font-size: 0.9rem;
}

.footer-bottom-links {
display: flex;
align-items: center;
gap: 16px;
}

.separator {
color: var(--border-glass);
}

/* =========================================================
ANIMACIONES KEYFRAMES
========================================================= */
@keyframes pulseGlow {
0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* =========================================================
RESPONSIVE DESIGN (MEDIA QUERIES)
========================================================= */

/* Tablets Grandes / Portátiles pequeños */
@media (max-width: 1024px) {
.hero-title { font-size: 3.5rem; }
.footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
.video-layout-grid { grid-template-columns: 1fr; }
}

/* Tablets */
@media (max-width: 768px) {
.nav-glass-wrapper { margin: 0; border-radius: 0; border-left: none; border-right: none; }
.nav-menu {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: rgba(6, 9, 19, 0.95);
backdrop-filter: blur(20px);
flex-direction: column;
padding: 32px 24px;
gap: 32px;
border-bottom: 1px solid var(--border-glass);
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all var(--transition-normal);
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list { flex-direction: column; text-align: center; width: 100%; }
.nav-actions { width: 100%; display: flex; justify-content: center; }
.mobile-menu-toggle { display: block; }

.hero-section { padding-top: 140px; }
.hero-title { font-size: 2.8rem; }

.footer-grid { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; gap: 24px; text-align: center; }


}

/* Smartphones */
@media (max-width: 480px) {
.hero-title { font-size: 2.2rem; }
.hero-cta-group { flex-direction: column; width: 100%; }
.btn { width: 100%; }
.modules-grid { grid-template-columns: 1fr; }
.feature-item { flex-direction: column; align-items: flex-start; }
.team-grid { grid-template-columns: 1fr; }
}
