/* Estilos personalizados para la aplicación */

/* Variables CSS - KickOff Corporate Theme */
:root {
    /* Colores principales KickOff */
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    
    /* Colores secundarios */
    --secondary-color: #00D4FF;
    --accent-color: #0099FF;
    
    /* Fondos corporativos */
    --dark-bg: #0A1628;
    --darker-bg: #050C14;
    --card-bg: rgba(10, 22, 40, 0.8);
    
    /* Texto */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Gradientes corporativos */
    --gradient-1: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    --gradient-2: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    --gradient-3: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
    --gradient-radial: radial-gradient(circle at 50% 50%, #0066FF 0%, #0A1628 100%);
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: var(--darker-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}


/* Hero Section - KickOff Corporate Style */
.hero-section {
    background: linear-gradient(135deg, #050C14 0%, #0A1628 50%, #050C14 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 255, 0.03) 2px, rgba(0, 102, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 255, 0.03) 2px, rgba(0, 102, 255, 0.03) 4px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blockchain Animation */
.blockchain-animation {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-logo {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: var(--gradient-2);
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 102, 255, 0.5),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.logo-pulse {
    position: absolute;
    width: 120%;
    height: 120%;
    border: 3px solid var(--primary-color);
    border-radius: 35px;
    animation: pulse 3s ease-out infinite;
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.kickoff-logo {
    max-width: 180px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 102, 255, 0.3));
}

.logo-placeholder {
    width: 180px;
    height: 180px;
    background: var(--gradient-2);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.network-node {
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--gradient-2);
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 102, 255, 0.5),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.network-node::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    opacity: 0.5;
    animation: pulse 2s ease-out infinite;
}

.node-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.node-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.node-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 1.5s;
}

.node-5 {
    top: 50%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}


/* Buttons - Modern Style */
.btn {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.rounded-pill {
    border-radius: 50px !important;
}

/* Sections */
.bg-dark {
    background-color: var(--dark-bg) !important;
}

.bg-darker {
    background-color: var(--darker-bg) !important;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.4);
}

.feature-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: white;
}

.bg-gradient-blue {
    background: var(--gradient-2);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* Integration Section */
.integration-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
}

.integration-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.blockchain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.grid-item {
    aspect-ratio: 1;
    background: var(--card-bg);
    border: 1px solid rgba(79, 124, 255, 0.2);
    border-radius: 15px;
    animation: gridPulse 3s ease-in-out infinite;
}

.grid-item:nth-child(1) { animation-delay: 0s; }
.grid-item:nth-child(2) { animation-delay: 0.5s; }
.grid-item:nth-child(3) { animation-delay: 1s; }
.grid-item:nth-child(4) { animation-delay: 1.5s; }

@keyframes gridPulse {
    0%, 100% {
        border-color: rgba(79, 124, 255, 0.2);
        box-shadow: none;
    }
    50% {
        border-color: rgba(79, 124, 255, 0.8);
        box-shadow: 0 0 20px rgba(79, 124, 255, 0.5);
    }
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid rgba(79, 124, 255, 0.2);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient-2);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navbar Override */
.navbar {
    background: rgba(10, 14, 39, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 124, 255, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Form styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Contact items */
.contact-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

/* Stats section */
.stat-item h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Process section */
.process-step {
    padding: 20px;
}

/* Dashboard styles */
.dashboard-card {
    border-left: 4px solid var(--primary-color);
}

.dashboard-card.success {
    border-left-color: var(--success-color);
}

.dashboard-card.warning {
    border-left-color: var(--warning-color);
}

.dashboard-card.info {
    border-left-color: var(--info-color);
}

/* Progress bars */
.progress {
    height: 8px;
    border-radius: 4px;
}

/* Notifications */
.notification-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    margin-top: auto;
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    .blockchain-animation {
        height: 300px;
    }
    
    .network-node {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    
    .central-logo {
        width: 180px;
        height: 180px;
        border-radius: 20px;
    }
    
    .kickoff-logo,
    .logo-placeholder {
        max-width: 120px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        rgba(79, 124, 255, 0.1) 0%,
        rgba(79, 124, 255, 0.3) 50%,
        rgba(79, 124, 255, 0.1) 100%
    );
    background-size: 1000px 100%;
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-gradient {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gradient-2) 1;
}

/* Particle Background Effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: particleFloat 10s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate(100px, -100vh);
        opacity: 0;
    }
}