@charset "UTF-8"; /* Define la codificación del archivo CSS */

@import url('../fonts/poppins/poppins.css'); /* Importa la fuente Poppins */
@import url('../fonts/arialrounded/arialrounded.css');

:root { /* Variables globales CSS */
/* <-- Blue --> */
    --blue100:   #CFE2FF; /* Azul claro */
    --blue200:   #9EC5FE;
    --blue300:   #6EA8FE;
    --blue400:   #3D8BFD;
    --blue500:   #0d6efd; /* Azul principal */
    --blue600:   #0A58CA;
    --blue700:   #084298;
    --blue800:   #052C65;
    --blue900:   #031633;
/* <-- Indigo --> */
    --indigo100: #E0CFFC;
    --indigo200: #C29FFA;
    --indigo300: #A370F7;
    --indigo400: #8540F5;
    --indigo500: #6610f2;
    --indigo600: #520DC2;
    --indigo700: #3D0A91;
    --indigo800: #290661;
    --indigo900: #140330;
/* <-- Purple --> */
    --purple100: #E2D9F3;
    --purple200: #C5B3E6;
    --purple300: #A98EDA;
    --purple400: #8C68CD;
    --purple500: #6f42c1;
    --purple600: #59359A;
    --purple700: #432874;
    --purple800: #2C1A4D;
    --purple900: #160D27;
/* <-- Pink --> */
    --pink100:   #F7D6E6;
    --pink200:   #EFADCE;
    --pink300:   #E685B5;
    --pink400:   #DE5C9D;
    --pink500:   #d63384;
    --pink600:   #AB296A;
    --pink700:   #801F4F;
    --pink800:   #561435;
    --pink900:   #2B0A1A;
/* <-- Red --> */
    --red100:    #F8D7DA;
    --red200:    #F1AEB5;
    --red300:    #EA868F;
    --red400:    #E35D6A;
    --red500:    #dc3545; /* Rojo principal */
    --red600:    #B02A37;
    --red700:    #842029;
    --red800:    #58151C;
    --red900:    #2C0B0E;
/* <-- Orange --> */
    --orange100: #FFE5D0;
    --orange200: #FECBA1;
    --orange300: #FEB272;
    --orange400: #FD9843;
    --orange500: #fd7e14; /* Naranja principal */
    --orange600: #CA6510;
    --orange700: #984C0C;
    --orange800: #653208;
    --orange900: #331904;
/* <-- Yellow --> */
    --yellow100: #FFF3CD;
    --yellow200: #FFE69C;
    --yellow300: #FFDA6A;
    --yellow400: #FFCD39;
    --yellow500: #bc9215;
    --yellow600: #CC9A06;
    --yellow700: #997404;
    --yellow800: #664D03;
    --yellow900: #332701;
/* <-- Green --> */
    --green100:  #D1E7DD;
    --green200:  #A3CFBB;
    --green300:  #75B798;
    --green400:  #479F76;
    --green500:  #198754; /* Verde principal */
    --green600:  #146C43;
    --green700:  #0F5132;
    --green800:  #0A3622;
    --green900:  #051B11;
/* <-- Teal --> */
    --teal100:   #D2F4EA;
    --teal200:   #A6E9D5;
    --teal300:   #79DFC1;
    --teal400:   #4DD4AC;
    --teal500:   #20c997;
    --teal600:   #1AA179;
    --teal700:   #13795B;
    --teal800:   #0D503C;
    --teal900:   #06281E;
/* <-- Cyan --> */
    --cyan100:   #CFF4FC;
    --cyan200:   #9EEAF9;
    --cyan300:   #6EDFF6;
    --cyan400:   #3DD5F3;
    --cyan500:   #0dcaf0;
    --cyan600:   #0AA2C0;
    --cyan700:   #087990;
    --cyan800:   #055160;
    --cyan900:   #032830;
/* <-- Gray --> */
    --gray100:   #F8F9FA;
    --gray200:   #E9ECEF;
    --gray300:   #DEE2E6;
    --gray400:   #CED4DA;
    --gray500:   #adb5bd;
    --gray600:   #6C757D;
    --gray700:   #495057;
    --gray800:   #343A40;
    --gray900:   #212529;
/* Custom Colors */
    --white:    #ffffff; /* Blanco */
    --black:    #000000; /* Negro */
    --dark1:    #333333; /* Gris oscuro personalizado */
    --dark2:    #2D353C;
    --dark3:    #212529;
    --dark4:    #252526;
    --dark5:    #1E1E1E;
    --dark6:    #16181b;
    --dark7:    #0d1214;
    --gray1:    #EEEEEE;
    --gray2:    #E5E5E5;
    --orange1:  #FF2E00;
    --orange2:  #ff4200;
    --orange3:  #ff5900;
    --orange4:  #fe6a00; /* Naranja para bordes y acentos */
    --orange5:  #f47e1f;
    --purple:   #6F42C1;
/* Modern Orange Palette Based on #fe6a00 */
    --primary-orange: #fe6a00;
    --primary-orange-light: #ff8533;
    --primary-orange-dark: #cc5500;
    --secondary-orange: #ff9966;
    --accent-orange: #ffb399;
    --neon-orange: #ff7f00;
    --neon-orange-light: #ffaa55;
    --neon-orange-dark: #e55a00;
    --glass-bg: rgba(254, 106, 0, 0.05);
    --glass-border: rgba(254, 106, 0, 0.15);
/* Fonts */
    --poppins:  'AvenirNext LT Pro', sans-serif, Arial; /* Fuente principal */
    --fontawesome:  'Font Awesome 6 Free', sans-serif, Arial; /* Fuente iconos */
    --arialrounded: 'Arial Rounded MT', sans-serif, Arial;
}

/* ===== MODERN INTERFACE STYLES ===== */

/* Modern Tech Interface */
.modern-interface {
    background: 
        radial-gradient(circle at 20% 50%, rgba(254, 106, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 153, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 127, 0, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark7) 0%, var(--dark6) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Advanced Navigation */
.navbar-futuristic {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 18, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(254, 106, 0, 0.3));
}

.navbar-logo:hover {
    filter: drop-shadow(0 0 15px rgba(254, 106, 0, 0.5));
    transform: scale(1.05);
}

.navbar-futuristic.scrolled {
    background: rgba(13, 18, 20, 0.95);
    box-shadow: 0 10px 30px rgba(254, 106, 0, 0.2);
}

.nav-link-modern {
    color: var(--gray300) !important;
    font-weight: 500;
    position: relative;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--neon-orange));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--primary-orange) !important;
    text-shadow: 0 0 10px var(--primary-orange);
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
    width: 80%;
}

/* Hero Section Ultra Modern */
.hero-futuristic {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.logo-glow {
    max-width: 450px;
    filter: drop-shadow(0 0 30px var(--primary-orange));
    animation: logoFloat 6s ease-in-out infinite, logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 30px var(--primary-orange)); }
    100% { filter: drop-shadow(0 0 50px var(--neon-orange)) drop-shadow(0 0 80px var(--primary-orange)); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange), var(--secondary-orange));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(254, 106, 0, 0.5);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray300);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Glass Morphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 106, 0, 0.1), transparent);
    transition: left 0.8s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--primary-orange);
    box-shadow: 
        0 25px 50px rgba(254, 106, 0, 0.3),
        0 0 50px rgba(255, 127, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 4rem;
    background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.glass-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px var(--primary-orange));
}

/* Modern Grid System */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 3rem 0;
}

/* Holographic Effects */
.holographic-section {
    position: relative;
    padding: 5rem 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(254, 106, 0, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 127, 0, 0.05) 50%, transparent 70%);
}

.section-title-modern {
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange), var(--secondary-orange));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--neon-orange));
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; transform: translateX(-50%) scaleX(0.8); }
}

/* Futuristic Buttons */
.btn-futuristic {
    background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange));
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-futuristic:hover::before {
    left: 100%;
}

.btn-futuristic:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(254, 106, 0, 0.4),
        0 0 30px rgba(255, 127, 0, 0.3);
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 18, 20, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating-nav-item {
    color: var(--gray400);
    font-size: 1.8rem;
    margin: 0 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.floating-nav-item:hover,
.floating-nav-item.active {
    color: var(--primary-orange);
    transform: scale(1.3) translateY(-5px);
    text-shadow: 0 0 15px var(--primary-orange);
}

/* Advanced Animations */
.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.geometric-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(254, 106, 0, 0.1), rgba(255, 127, 0, 0.1));
    border-radius: 50%;
    animation: float-complex 20s linear infinite;
}

@keyframes float-complex {
    0% { 
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { 
        transform: translateY(-20vh) translateX(50vw) rotate(360deg);
        opacity: 0;
    }
}

/* Team & Contact Sections */
.team-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary-orange);
    box-shadow: 0 30px 60px rgba(254, 106, 0, 0.2);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-orange);
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: var(--neon-orange);
    box-shadow: 0 0 30px var(--primary-orange);
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
}

.form-control-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(254, 106, 0, 0.3);
    color: white;
}

.form-control-modern::placeholder {
    color: var(--gray400);
}

/* Loading Screen Enhanced */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark7), var(--dark6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.loading-spinner-modern {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(254, 106, 0, 0.1);
    border-top: 4px solid var(--neon-orange);
    border-radius: 50%;
    animation: spinnerPulse 2s ease-in-out infinite, spin 1s linear infinite;
    box-shadow: 0 0 30px rgba(254, 106, 0, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner-logo {
    width: 40px;
    height: 40px;
    animation: logoPulse 2s ease-in-out infinite !important;
    filter: brightness(0) invert(1);
    transform-origin: center center;
}

@keyframes spinnerPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(254, 106, 0, 0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(254, 106, 0, 0.6);
    }
}

@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        opacity: 0.8;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoSpinPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Stat Cards */
.stat-card {
    background: rgba(254, 106, 0, 0.1);
    border: 1px solid rgba(254, 106, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    background: rgba(254, 106, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 106, 0, 0.3);
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-orange), var(--neon-orange));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(254, 106, 0, 0.4);
}

.video-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 15px 35px rgba(254, 106, 0, 0.6);
}

.video-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalSlideOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
}

.video-modal.closing .video-modal-content {
    animation: modalSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Auto-close notification */
.video-auto-close-notification {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(254, 106, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10002;
    pointer-events: none;
}

.video-auto-close-notification.show {
    opacity: 1;
}

.video-auto-close-notification i {
    margin-right: 0.5rem;
}

/* Responsive Video Modal */
@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95vw;
        padding: 1rem;
    }
    
    .video-container {
        max-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title-modern {
        font-size: 2.5rem;
    }
    
    .modern-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .floating-nav {
        padding: 0.8rem 1.5rem;
    }
    
    .floating-nav-item {
        font-size: 1.5rem;
        margin: 0 1rem;
    }
}

/* Section Reveal Animation */
.section-revealed {
    opacity: 1;
    transform: translateY(0);
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Video Error Placeholder */
.video-error-placeholder {
    width: 100%;
    max-width: 800px;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.video-error-placeholder .glass-card {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.demo-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.feature-item i {
    font-size: 1.1rem;
    width: 20px;
}