/* Variables Globales */
:root {
    --primary-dark: #0a0a1a;
    --primary-gradient: linear-gradient(135deg, #6C63FF 0%, #FF6B6B 100%);
    --secondary-dark: #1a1a2e;
    --card-bg: #16213e;
    --text-secondary: #a0a0b0;
    --border-color: #2a2a4a;
}

/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: #ffffff;
    padding-top: 76px;
    overflow-x: hidden;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6C63FF, #FF6B6B);
    border-radius: 4px;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px !important;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
}

/* Gradients */
.text-primary-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: var(--primary-gradient);
}

.btn-primary-gradient {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at top, var(--secondary-dark), var(--primary-dark));
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
}

.stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    color: rgba(108, 99, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.floating-element:nth-child(2) { bottom: 0; left: 0; }
.floating-element:nth-child(3) { bottom: 0; right: 0; }
.floating-element:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }
.floating-element:nth-child(5) { top: 50%; right: 0; transform: translateY(-50%); }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-card {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 400px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Cards Hover */
.hover-card {
    transition: all 0.3s ease;
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(108, 99, 255, 0.3);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Tech Cards */
.tech-card {
    transition: all 0.3s ease;
    background: var(--primary-dark);
}

.tech-card:hover {
    background: var(--secondary-dark);
    border-color: rgba(108, 99, 255, 0.5) !important;
    transform: scale(1.05);
}

/* Accordion */
.accordion-item {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--secondary-dark);
    color: white;
    font-weight: 600;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background: var(--secondary-dark);
    color: #6C63FF;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background: var(--primary-dark);
    color: var(--text-secondary);
}

/* Formularios */
.form-control, .form-select {
    background: var(--primary-dark) !important;
    border: 1px solid var(--border-color);
    color: white !important;
    padding: 12px 16px;
    border-radius: 10px;
}

.form-control:focus, .form-select:focus {
    border-color: #6C63FF;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

/* Icon Circle */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Panel */
.panel-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Contrato */
.contrato-contenido {
    font-size: 0.95rem;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.contrato-contenido h6 {
    color: #6C63FF;
}

.firma-digital {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-illustration {
        height: 300px;
        margin-top: 40px;
    }
    
    .floating-elements {
        width: 200px;
        height: 200px;
    }
    
    .floating-element {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary-gradient, .btn-outline-light {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Utilidades */
.bg-dark {
    background-color: var(--primary-dark) !important;
}

.border-secondary {
    border-color: var(--border-color) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* Toast de Notificación */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: var(--secondary-dark);
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.toast-header {
    background: var(--primary-dark);
    color: white;
    border-bottom: 1px solid var(--border-color);
}
/* Agregar al final del archivo styles.css */

/* Timeline - Flujo del Programa */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    flex: 1;
    min-width: 80px;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
}

.timeline-arrow {
    color: var(--text-secondary);
    font-size: 1.5rem;
    padding: 0 10px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .timeline-item {
        margin-bottom: 10px;
    }
}

/* Badge de exclusividad */
.badge-exclusividad {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000;
    font-weight: 700;
    padding: 8px 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Sección de ecosistema */
.ecosistema-section .hover-card {
    transition: all 0.3s ease;
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ecosistema-section .hover-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Mejoras en cards de beneficios */
.beneficios-section .hover-card {
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.beneficios-section .hover-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 99, 255, 0.3);
}
.card-title{
    color: white;
}