/* Estilos DARK PREMIUM para LATAMPAY */

/* Variables CSS Dark Theme */
:root {
    --dark-primary: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
}

/* Reset y configuración base premium */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-primary);
    overflow-x: hidden;
}

/* Smooth scrolling premium */
html {
    scroll-behavior: smooth;
}

/* Animaciones dark premium */
@keyframes fadeInUpDark {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRightDark {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 40px rgba(6, 182, 212, 0.3);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Efectos hover dark premium */
.dark-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s;
}

.dark-hover:hover::before {
    left: 100%;
}

.dark-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.2);
}

/* Header premium dark */
header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 42, 42, 0.8);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: rgba(59, 130, 246, 0.3);
}

/* Botones dark premium */
.btn-dark-premium {
    position: relative;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-dark-premium::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-dark-premium:hover::before {
    left: 100%;
}

.btn-dark-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Cards dark premium */
.premium-dark-card {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(42, 42, 42, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-dark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.premium-dark-card:hover::before {
    transform: scaleX(1);
}

.premium-dark-card:hover {
    transform: translateY(-12px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(59, 130, 246, 0.2);
}

/* Gradientes dark premium */
.dark-gradient-primary {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 50%, var(--dark-tertiary) 100%);
}

.accent-gradient-premium {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

/* Textos con efectos dark */
.text-dark-shadow {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.text-glow {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.text-emphasis-dark {
    position: relative;
    display: inline-block;
}

.text-emphasis-dark::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.text-emphasis-dark:hover::after {
    transform: scaleX(1);
}

/* Loading states dark */
.loading-dark-premium {
    position: relative;
    overflow: hidden;
}

.loading-dark-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    animation: shimmer-dark 2s infinite;
}

@keyframes shimmer-dark {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Formularios dark premium */
.form-dark-premium {
    position: relative;
}

.form-dark-premium input,
.form-dark-premium textarea {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(42, 42, 42, 0.6);
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-dark-premium input::placeholder,
.form-dark-premium textarea::placeholder {
    color: var(--text-muted);
}

.form-dark-premium input:focus,
.form-dark-premium textarea:focus {
    background: rgba(26, 26, 26, 0.9);
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.2),
        0 0 20px rgba(59, 130, 246, 0.3);
    outline: none;
}

.form-dark-premium label {
    font-weight: 500;
    color: var(--text-primary);
}

/* Stats dark premium */
.stats-counter-dark {
    font-family: 'Inter', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

/* Team cards dark */
.team-card-dark {
    transition: all 0.4s ease;
    position: relative;
}

.team-card-dark:hover {
    transform: translateY(-8px);
}

.team-card-dark img {
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.team-card-dark:hover img {
    filter: brightness(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Efectos de scroll dark */
.scroll-reveal-dark {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-dark.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar sticky dark */
.navbar-dark-premium {
    transition: all 0.4s ease;
}

.navbar-dark-premium.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

/* Decorative elements */
.decorative-blur {
    filter: blur(100px);
    opacity: 0.7;
    animation: float-dark 6s ease-in-out infinite;
}

@keyframes float-dark {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Responsive dark premium */
@media (max-width: 768px) {
    .premium-dark-card {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .stats-counter-dark {
        font-size: 2.5rem;
    }
    
    .hero-title-dark {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (max-width: 480px) {
    .premium-dark-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .hero-title-dark {
        font-size: 2.5rem;
    }
}

/* Scrollbar dark premium */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
}

/* Estados de selección dark */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

/* Focus states dark premium */
button:focus,
a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Transiciones globales dark */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Utilities dark premium */
.backdrop-blur-dark {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.shadow-dark-premium {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.8), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
}

.shadow-dark-premium-lg {
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(59, 130, 246, 0.2),
        0 0 100px rgba(6, 182, 212, 0.1);
}

/* Efectos especiales dark */
.neon-border {
    border: 1px solid transparent;
    background: linear-gradient(var(--dark-secondary), var(--dark-secondary)) padding-box,
                linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)) border-box;
}

.glass-effect {
    background: rgba(26, 26, 26, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animaciones especiales */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.pulse-glow {
    animation: glow-pulse 2s ease-in-out infinite;
} 
