/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.header {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 50px;
}

.logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.header h1 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 500;
}

/* Main Content */
.main-content {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Systems Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.system-card {
    background: #f8f9fa;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.system-card.active {
    cursor: pointer;
}

.system-card.active:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.system-card.active:hover::before {
    opacity: 1;
}

.system-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.system-card.disabled .card-icon {
    background: #999;
}

.system-card h3 {
    font-size: 22px;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 700;
}

.system-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.card-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #d4edda;
    color: #155724;
    margin-bottom: 15px;
}

.card-badge.coming-soon {
    background: #fff3cd;
    color: #856404;
}

.card-badge i {
    margin-right: 5px;
}

.card-footer {
    font-weight: 600;
    color: #667eea;
    font-size: 16px;
}

.system-card.disabled .card-footer {
    display: none;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.info-box {
    text-align: center;
    padding: 25px;
}

.info-box i {
    font-size: 40px;
    color: #667eea;
    margin-bottom: 15px;
}

.info-box h4 {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-box p {
    font-size: 14px;
    color: #666;
}

/* Footer */
.footer {
    text-align: center;
    color: white;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    font-size: 14px;
}

.footer p {
    margin: 5px 0;
    opacity: 0.9;
}

.footer-small {
    font-size: 11px !important;
    opacity: 0.7 !important;
    margin-top: 10px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .logo {
        width: 140px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .main-content {
        padding: 35px 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header, .main-content, .footer {
    animation: fadeIn 0.6s ease-out;
}

.system-card {
    animation: fadeIn 0.6s ease-out;
}

.system-card:nth-child(1) { animation-delay: 0.1s; }
.system-card:nth-child(2) { animation-delay: 0.2s; }
.system-card:nth-child(3) { animation-delay: 0.3s; }
.system-card:nth-child(4) { animation-delay: 0.4s; }
